- Joined
- Aug 5, 2015
- Messages
- 202
this trigger worked

-
sand buff
-

Events
-


Time - Every 7.00 seconds of game time
-
-

Conditions
-

Actions
-


Set SANDGROUP = (Units in Region Sand <gen>)
-


Unit Group - Pick every unit in SANDGROUP and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






((Picked unit) belongs to an enemy of Player 12 (Brown)) Equal to True
-






((Picked unit) is alive) Equal to True
-
-





Then - Actions
-






Set SANDSPOT = (Position of (Picked unit))
-






Unit - Create 1 Caster Dummy (SAND) for Player 12 (Brown) at SANDSPOT facing Default building facing degrees
-






Unit - Order (Last created unit) to Human Sorceress - Slow (Picked unit)
-






Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-






Custom script: call RemoveLocation(udg_SANDSPOT)
-






Custom script: call DestroyGroup(udg_SANDGROUP)
-
-





Else - Actions
-
-
-
-
-
-
sand buff enter
-

Events
-


Unit - A unit enters Region Sand <gen>
-
-

Conditions
-


And - All (Conditions) are true
-



Conditions
-




((Entering unit) is alive) Equal to True
-




((Entering unit) belongs to an enemy of Player 12 (Brown)) Equal to True
-
-
-
-

Actions
-


Set SANDSPOT = (Position of (Entering unit))
-


Unit - Create 1 Caster Dummy (SAND) for Player 12 (Brown) at SANDSPOT facing Default building facing degrees
-


Unit - Order (Last created unit) to Human Sorceress - Slow (Entering unit)
-


Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-


Custom script: call RemoveLocation(udg_SANDSPOT)
-
-



