I can't get this trigger to pick my enemies, and pause them. I'm hoping someone can point out some small error of mine, thats easy to fix. I'm Quite new to this, so I'm not very good at it yet. Thanks for the help!
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to time warp
Actions
Unit Group - Pick every unit in (Units within 1000.00 of (Target point of ability being cast) matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
Loop - Actions
Unit Group - Add (Picked unit) to timewarpgroup
Unit - Pause (Picked unit)
Wait 10.00 game-time seconds
Trigger - Turn on turnonpausewarp <gen>
Unit Group - Pick every unit in timewarpgroup and do (Unit - Unpause (Picked unit))
Trigger - Turn off (This trigger)
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to time warp
Actions
Unit Group - Pick every unit in (Units within 1000.00 of (Target point of ability being cast) matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
Loop - Actions
Unit Group - Add (Picked unit) to timewarpgroup
Unit - Pause (Picked unit)
Wait 10.00 game-time seconds
Trigger - Turn on turnonpausewarp <gen>
Unit Group - Pick every unit in timewarpgroup and do (Unit - Unpause (Picked unit))
Trigger - Turn off (This trigger)