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.
    [01:35 am]
    Ultraviolet -- Vrael
    Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
    Gonna put deez sportballs in your mouth
    [01:24 pm]
    Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
    [2024-4-30. : 5:08 pm]
    Oh_Man -- https://youtu.be/lGxUOgfmUCQ
    [2024-4-30. : 7:43 am]
    NudeRaider -- Vrael
    Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
    Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
    [2024-4-29. : 6:36 pm]
    RIVE -- Nah, I'm still on Orange Box.
    [2024-4-29. : 4:36 pm]
    Oh_Man -- anyone play Outside the Box yet? it was a fun time
    [2024-4-29. : 12:52 pm]
    Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
    [2024-4-29. : 11:17 am]
    Zycorax -- :wob:
    [2024-4-27. : 9:38 pm]
    NudeRaider -- Ultraviolet
    Ultraviolet shouted: NudeRaider sing it brother
    trust me, you don't wanna hear that. I defer that to the pros.
    [2024-4-27. : 7:56 pm]
    Ultraviolet -- NudeRaider
    NudeRaider shouted: "War nie wirklich weg" 🎵
    sing it brother
    Please log in to shout.


    Members Online: Roy