Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Need help with alliance triggers
[SOLVED] Need help with alliance triggers
This topic is locked. You can no longer write replies here.
Aug 9 2012, 6:32 pm
By: CrazyChaos  

Aug 9 2012, 6:32 pm CrazyChaos Post #1



I need to force ally the players to the enemy, then force unally when there is one person left on the "Survivors" Force.



None.

Aug 9 2012, 6:42 pm lil-Inferno Post #2

Just here for the pie

When there's at least 2 people alive, set alliance to the enemy and preserve. Then when there's at most 1, set enemy.




Aug 9 2012, 7:13 pm Mouse Post #3



-Trigger 1
Conditions:
All players command at least 2 "Survivors"
Player 1 commands at least 1 "Enemy"

Actions:
Set Player 1 to Ally
(Preserve Trigger? It depends on if you want them to be able to unally)

-Trigger 2
Conditions:
All players command at least 2 "Survivors"
Player 2 commands at least 1 "Enemy"

Actions:
Set Player 2 to Ally
(Preserve Trigger? It depends on if you want them to be able to unally)

etc. all the way till you get all your players completed.

-Trigger 3
Conditions:
All Players command exactly 1 "Survivor"
Current Player commands at least 1 "Survivor"
Player 1 commands at least 1 "Enemy"

Actions:
Set Player 1 to Enemy
(Preserve Trigger? It depends on if you want them to be able to unally)

-Trigger 4
Conditions:
All Players command exactly 1 "Survivor"
Current Player commands at least 1 "Survivor"
Player 2 commands at least 1 "Enemy"

Actions:
Set Player 2 to Enemy
(Preserve Trigger? It depends on if you want them to be able to unally)

etc. all the way till you get all your players completed.



None.

Aug 9 2012, 7:35 pm CrazyChaos Post #4



Quote from Mouse
-Trigger 1
Conditions:
All players command at least 2 "Survivors"
Player 1 commands at least 1 "Enemy"

Actions:
Set Player 1 to Ally
(Preserve Trigger? It depends on if you want them to be able to unally)

-Trigger 2
Conditions:
All players command at least 2 "Survivors"
Player 2 commands at least 1 "Enemy"

Actions:
Set Player 2 to Ally
(Preserve Trigger? It depends on if you want them to be able to unally)

etc. all the way till you get all your players completed.

-Trigger 3
Conditions:
All Players command exactly 1 "Survivor"
Current Player commands at least 1 "Survivor"
Player 1 commands at least 1 "Enemy"

Actions:
Set Player 1 to Enemy
(Preserve Trigger? It depends on if you want them to be able to unally)

-Trigger 4
Conditions:
All Players command exactly 1 "Survivor"
Current Player commands at least 1 "Survivor"
Player 2 commands at least 1 "Enemy"

Actions:
Set Player 2 to Enemy
(Preserve Trigger? It depends on if you want them to be able to unally)

etc. all the way till you get all your players completed.
Thanks Mouse, This is really detailed :D I Hope I get enough time to release a Open Beta Release before I goto Connecticut.



None.

Aug 10 2012, 12:28 am CrazyChaos Post #5





Is this ok if I only do this?



None.

Aug 10 2012, 1:05 am Roy Post #6

An artist's depiction of an Extended Unit Death

Change it to at least 2 Survivor, and preserve the trigger. Then have a second trigger for At most 1 Survivor, and preserve the unally.

That's probably all you need. (Inferno was pretty spot-on for the simple implementation; I don't know why Mouse chose to be so complex for the given scenario.)




Aug 10 2012, 1:22 am CrazyChaos Post #7



Quote from Roy
Change it to at least 2 Survivor, and preserve the trigger. Then have a second trigger for At most 1 Survivor, and preserve the unally.

That's probably all you need. (Inferno was pretty spot-on for the simple implementation; I don't know why Mouse chose to be so complex for the given scenario.)



This good?



None.

Aug 10 2012, 1:24 am Biophysicist Post #8



That... That second trigger doesn't do anything.



None.

Aug 10 2012, 1:35 am CrazyChaos Post #9



Quote from Biophysicist
That... That second trigger doesn't do anything.

Uhh yeah :facepalm: I guess I need a lot of help :\



None.

Aug 10 2012, 1:38 am Roy Post #10

An artist's depiction of an Extended Unit Death

Add "Set Michael Myers to Unally" on the second trigger and you should be good to go. You can add the command condition to the second trigger as well if you think you need it.




Aug 10 2012, 1:44 am CrazyChaos Post #11



Quote from Roy
Add "Set Michael Myers to Unally" on the second trigger and you should be good to go. You can add the command condition to the second trigger as well if you think you need it.


Is this it?



None.

Aug 10 2012, 1:48 am Roy Post #12

An artist's depiction of an Extended Unit Death

This:
Trigger
Players
  • Survivors
  • Conditions
  • All players command at least 2 Survivor
  • Actions
  • Set Michael Myers to Ally
  • Preserve Trigger

  • Trigger
    Players
  • Survivors
  • Conditions
  • All players command at most 1 Survivor
  • Actions
  • Set Michael Myers to Enemy
  • Preserve Trigger





  • Aug 10 2012, 1:58 am CrazyChaos Post #13



    Quote from Roy
    This:
    Trigger
    Players
  • Survivors
  • Conditions
  • All players command at least 2 Survivor
  • Actions
  • Set Michael Myers to Ally
  • Preserve Trigger

  • Trigger
    Players
  • Survivors
  • Conditions
  • All players command at most 1 Survivor
  • Actions
  • Set Michael Myers to Enemy
  • Preserve Trigger

  • Thanks. Can You lock this because it served its purpose. also can this be stickied, because Beginner Map Makers might want to know this table for future reference.



    None.

    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [02:58 pm]
    Ultraviolet -- Symmetry
    Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
    fr fr
    [02:39 am]
    Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
    [2026-7-16. : 6:28 am]
    NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
    [2026-7-16. : 6:26 am]
    NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
    [2026-7-16. : 6:25 am]
    NudeRaider -- Symmetry
    Symmetry shouted: Ohhh imagine a SC map that could delete itself
    not the map, the editor
    [2026-7-16. : 2:28 am]
    Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
    [2026-7-16. : 2:28 am]
    Symmetry -- Ohhh imagine a SC map that could delete itself
    [2026-7-15. : 8:51 pm]
    NudeRaider -- Symmetry
    Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
    yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
    [2026-7-15. : 4:10 am]
    Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
    [2026-7-15. : 2:19 am]
    Symmetry -- NudeRaider
    NudeRaider shouted: Symmetry I can't tell if it's relevant. You provided literally no context so I was providing an equally generic answer.
    Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
    Please log in to shout.


    Members Online: Ultraviolet, lil-Inferno