- Joined
- Apr 23, 2009
- Messages
- 94
-
Events
-
Time - Every 3.00 seconds of game time
-
-
Conditions
-
Actions
-
If ((Untitled Trigger 034 <gen> is on) Equal to True) then do (Trigger - Add to Untitled Trigger 034 <gen> the event (Time - Elapsed game time is 0.01 seconds)) else do (Do nothing)
-
Unit Group - Pick every unit in (Units within 350.00 of FEARTRAP matching (((Owner of (Matching unit)) is an enemy of Player 1 (Red)) Equal to True)) and do (Actions)
-
Loop - Actions
-
Set loc = (Position of (Picked unit))
-
Unit - Order SCARED to Neutral Pit Lord - Howl Of Terror
-
Unit Group - Pick every unit in (Units owned by Player 2 (Blue) matching (((Matching unit) has buff Scared) Equal to True)) and do (Actions)
-
Loop - Actions
-
Unit - Change ownership of (Picked unit) to Neutral Passive and Retain color
-
Unit - Order (Picked unit) to Move To (loc offset by (-500.00, (Facing of (Picked unit))))
-
Unit Group - Add (Picked unit) to FEARGROUP
-
-
-
-
-
-
Untitled Trigger 034
-
Events
-
Conditions
-
Actions
-
Unit - Create 1 Dummy for Player 1 (Red) at FEARTRAP facing Default building facing degrees
-
Set SCARED = (Last created unit)
-
Trigger - Turn off (This trigger)
-
-
-
Untitled Trigger 035 Copy
-
Events
-
Time - Every 0.10 seconds of game time
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in FEARGROUP and do (Actions)
-
Loop - Actions
-
If (((Picked unit) has buff Scared) Equal to False) then do (Unit - Change ownership of (Picked unit) to Player 2 (Blue) and Change color) else do (Do nothing)
-
-
-
-
Dummy is ordered to cast it every 3 seconds, but before the 3 seconds it units get the buff.. Though i could also be something with the Changing Ownership.. causing some kind of lag.
Anyone?