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.
    [07:20 am]
    RIVE -- #MBWMGA
    [2026-7-13. : 1:11 am]
    Symmetry -- https://staredit.net/topic/18903/ can u do it
    [2026-7-12. : 7:41 pm]
    Ultraviolet -- just sent you a message on Discord. I suspect you're probably trying to change unit speeds for units that don't use flingy.dat for movement (like any units that walk instead of hovering/flying). You can change their movement to flingy, but they unfortunately look more like they're gliding than walking when you do that.
    [2026-7-12. : 7:31 pm]
    Symmetry -- EE2, I've been using setdatfile successfully for units.dat and weapons.dat but the flingy changes don't seem to happen
    [2026-7-12. : 5:25 pm]
    Ultraviolet -- in EE2 you just open DatEdit, go to the flingy tab, and make whatever changes you want. Though if you want to do dynamic shit, you have to use the trigger editor with the setdatfile action. And of course you have to inject your changes when done. Can give more specific troubleshooting advice if you provide more details
    [2026-7-12. : 5:20 pm]
    Ultraviolet -- Symmetry
    Symmetry shouted: why can't I seem to make eud editor change flingy.dat D:
    Are you using EE2 or EE3?
    [2026-7-12. : 4:57 pm]
    Symmetry -- wdym
    [2026-7-12. : 2:24 pm]
    Apos -- :wob:
    [2026-7-12. : 4:16 am]
    NudeRaider -- files in c:\program files\ are protected
    Please log in to shout.


    Members Online: RIVE