What I have is supposed to take units into a small arena thing for some time then move them back to where it was cast (assuming no one died).
Currently the trigger is stuck on the first loop, my questions would be how do I break the loop after it is used once, and how would I stop any leaks? (tutorial I read was in jass )
-
Actions
- Set TempLoc02 = (Position of Caster)
- Region - Center Closed Space Area <gen> on (Position of ClosedSpaceCaster)
- Wait 5.00 seconds
-
Unit Group - Pick every unit in (Units in Closed Space Area <gen>) and do (Actions)
-
Loop - Actions
- Set Target = (Picked unit)
- Unit - Move Target instantly to (Center of Closed Space 1 <gen>)
-
Loop - Actions
- Wait 5.00 seconds
-
Unit Group - Pick every unit in (Units in Closed Space 1 <gen>) and do (Actions)
-
Loop - Actions
- Set Target = (Picked unit)
- Unit - Move Target instantly to (Center of Closed Space Area <gen>)
-
Loop - Actions
Currently the trigger is stuck on the first loop, my questions would be how do I break the loop after it is used once, and how would I stop any leaks? (tutorial I read was in jass )