- Joined
- May 21, 2006
- Messages
- 174
Just a quick question,
If I have a tempPoint within a For Each (Integer A) loop, do I need to destroy the tempPoint in the end of the loop or is it sufficient to destroy it at the end of the trigger?
If I have a tempPoint within a For Each (Integer A) loop, do I need to destroy the tempPoint in the end of the loop or is it sufficient to destroy it at the end of the trigger?
-
Actions
-
For each (Integer A) from 1 to 3, do (Actions)
-
Loop - Actions
- Set tempPoint = (Center of REGION <gen>)
- Unit - Create 1 UNIT for (Player((Integer A))) at tempPoint facing Default building facing (270.0) degrees
-
Loop - Actions
- Custom script: call RemoveLocation( udg_tempPoint )
-
For each (Integer A) from 1 to 3, do (Actions)