- Joined
- Jun 28, 2008
- Messages
- 673
Alright, so I know how to remove location leaks, I know how to remove array location leaks. But what if the array used was [Integer A]?
Also, would it work if I did something like this:
Any and all help will be greatly appreciated.
-
Sparkfield Per
-

Events
-


Time - Every 0.10 seconds of game time
-
-

Conditions
-

Actions
-


Set sprk_point = (sprk_point offset by 24.56 towards (Facing of sprk_caster) degrees)
-


For each (Integer A) from 1 to 10, do (Actions)
-



Loop - Actions
-




Set sprk_radius[(Integer A)] = (sprk_point offset by 87.50 towards (36.00 x (Real((Integer A)))) degrees)
-




Special Effect - Create a special effect at sprk_radius[(Integer A)] using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
-




Special Effect - Destroy (Last created special effect)
-




Custom script: call RemoveLocation(udg_sprk_radius[???])
-
-
-
-
Also, would it work if I did something like this:
-
Sparkfield Per
-

Events
-


Time - Every 0.10 seconds of game time
-
-

Conditions
-

Actions
-


Set sprk_point = (sprk_point offset by 24.56 towards (Facing of sprk_caster) degrees)
-


For each (Integer A) from 1 to 10, do (Actions)
-



Loop - Actions
-




Set sprk_radius[(Integer A)] = (sprk_point offset by 87.50 towards (36.00 x (Real((Integer A)))) degrees)
-




Special Effect - Create a special effect at sprk_radius[(Integer A)] using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
-




Special Effect - Destroy (Last created special effect)
-
-
-


Custom script: call RemoveLocation(udg_sprk_radius[1])
-


Custom script: call RemoveLocation(udg_sprk_radius[2])
-


Custom script: call RemoveLocation(udg_sprk_radius[3])
-


Custom script: call RemoveLocation(udg_sprk_radius[4])
-


Custom script: call RemoveLocation(udg_sprk_radius[5])
-


Custom script: call RemoveLocation(udg_sprk_radius[6])
-


Custom script: call RemoveLocation(udg_sprk_radius[7])
-


Custom script: call RemoveLocation(udg_sprk_radius[8])
-


Custom script: call RemoveLocation(udg_sprk_radius[9])
-


Custom script: call RemoveLocation(udg_sprk_radius[10])
-
-
Any and all help will be greatly appreciated.



