- Joined
- Feb 19, 2006
- Messages
- 237
I made a spell called "personal battle" in which your hero selects an enemy to have a fight with. Every other unit in the map is paused except your hero and its target. The pause works fine, but after 5 seconds i want everyone else to be unpaused, which is not working...
Personal Battle
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Personal Battle
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) Not equal to (Casting unit)
(Picked unit) Not equal to (Target unit of ability being cast)
Then - Actions
Unit - Pause (Picked unit)
Wait 5.00 seconds
Unit - Unpause (Picked unit)
Else - Actions
Do nothing
Personal Battle
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Personal Battle
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) Not equal to (Casting unit)
(Picked unit) Not equal to (Target unit of ability being cast)
Then - Actions
Unit - Pause (Picked unit)
Wait 5.00 seconds
Unit - Unpause (Picked unit)
Else - Actions
Do nothing