- Joined
- Mar 5, 2008
- Messages
- 3,887
Hi, all!
As the title says is is good to remove locations in loop, or should i remove locations wen the loops are over?
As the title says is is good to remove locations in loop, or should i remove locations wen the loops are over?
-
Spell
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Spell
-
Actions
- Set TempLoc1 = (Position of (Triggering unit))
- Set TempLocNew = (Position of (Triggering unit))
-
For each (Integer A) from 1 to 36, do (Actions)
-
Loop - Actions
- Unit - Create 1 Dummy for (Triggering player) at TempLoc1 facing Default building facing degrees
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Add Taste of Death(dummy) to (Last created unit)
- Set TempLoc1_Cast = (TempLocNew offset by 200.00 towards (10.00 x (Real((Integer A)))) degrees)
- Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm TempLoc1_Cast
-
Loop - Actions
- Custom script: call RemoveLocation (udg_TempLoc1)
- Custom script: call RemoveLocation (udg_TempLoc1_Cast)
- Custom script: call RemoveLocation (udg_TempLocNew)
-
Events
- .
- .
- .
- Te action below are not important now