Hey I'm trying to add an event to another trigger but I can't seem to get it working. The strange thing is that I've used the "Trigger - Add New Event" function tons of time where it would work without issues... anyways this is the trigger:
-
Map Start
-
Events
- Time - Elapsed game time is 5.00 seconds
- Conditions
-
Actions
- Destructible - Kill Power Fence 0103 <gen>
- Destructible - Kill Power Fence 0104 <gen>
-
For each (Integer A) from 1 to INTEGER_PlayerCount, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Player((Integer A))) slot status) Equal to Is playing
-
Then - Actions
- Unit - Create 1 Wisp for (Player((Integer A))) at POINT_Spawn facing Default building facing degrees
- Set UNIT_Wisp[(Integer A)] = (Last created unit)
- Set REAL_VerticalSpeed[(Integer A)] = 3.00
- Game - Display to (All players) the text: (Name of UNIT_Wisp[(Integer A)])
- Trigger - Add to TRIGGER_Collision[(Integer A)] the event (Unit - A unit comes within 115.00 of UNIT_Wisp[(Integer A)])
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Special Effect - Create a special effect at POINT_Spawn using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Trigger - Turn on Camera System <gen>
- Trigger - Turn on Jump <gen>
-
Events
Last edited: