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.
    [03:20 am]
    Symmetry -- Dang I'm up to 155 minerals gambling really pays off guys
    [2026-10-11. : 6:02 am]
    Donald -- Samase
    [2026-10-09. : 2:53 am]
    Mr.BurnLiquid -- Symmetry
    Symmetry shouted: I'll check it out this weekend!
    Thanks
    [2026-10-09. : 2:47 am]
    Symmetry -- I'll check it out this weekend!
    [2026-10-09. : 2:40 am]
    Mr.BurnLiquid -- Symmetry
    Symmetry shouted: Another map maker? Damn we really ARE back
    I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
    [2026-10-09. : 2:27 am]
    Symmetry -- Another map maker? Damn we really ARE back
    [2026-10-09. : 1:51 am]
    Mr.BurnLiquid -- Ultraviolet
    Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
    Now that I wanted to change my avatar, the error image is showing up, haha.
    [2026-10-09. : 1:34 am]
    Mr.BurnLiquid -- Ultraviolet
    Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
    Mr.BurnLiquid
    Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
    I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
    [2026-10-09. : 1:33 am]
    Mr.BurnLiquid -- Ultraviolet
    Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
    Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
    Please log in to shout.


    Members Online: emilyroberts, City, Roy