- Joined
- Feb 19, 2006
- Messages
- 237
I would like a trigger that will prevent ensnared units from attacking. This is what i have come up with so far.
-
PauseEnsnaredUnits
-
Events
- Time - Every 0.10 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) has buff Ensnare (Ground)) Equal to True
-
Then - Actions
- Unit - Pause (Picked unit)
-
Else - Actions
- Unit - Unpause (Picked unit)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Events