Alex World Editor Mod
Number of posts : 44 Username : SirAlexander Registration date : 2008-01-26
| Subject: Startnge Trigger Need Help [Wtf?!?!] Tue Mar 18, 2008 2:48 am | |
| Ok here is my trigger. - Spoiler:
- Code:
-
All Dead Events Conditions DeadHeros Equal to (Number of players in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing)) Actions Trigger - Turn off Alien Flying <gen> Trigger - Turn off Aliens <gen> Trigger - Turn off Aliens Boss 1 <gen> Trigger - Turn off Poisend <gen> Trigger - Turn off Virus Lord <gen> Unit Group - Pick every unit in DeadGroup and do (Actions) Loop - Actions Hero - Instantly revive (Picked unit) at (Random point in Save Area <gen>), Hide revival graphics Camera - Pan camera for (Owner of (Picked unit)) to (Position of (Picked unit)) over 0.00 seconds
And here is my variable. Deadheros - Integer - 0 Default That should work right? This is my other trigger, so when someone dies it adds them to Deadheros. - Spoiler:
- Code:
-
Death Heros Events Unit - A unit Dies Conditions ((Dying unit) is A Hero) Equal to True Actions Set DeadHeros = (DeadHeros + 1) Unit Group - Add (Dying unit) to DeadGroup Trigger - Run All Dead <gen> (checking conditions)
| |
|