Code:
OrbShotMovement
Events
Time - Every 0.03 seconds of game time
Conditions
Actions
Set testpoint = (([B]Position of testunit[/B]) offset by 256.00 towards 0.00 degrees)
Custom script: call RemoveLocation (udg_testpoint)
Basically, I want to know if referring to "Position of testunit" by itself, instead of a variable, would cause a simple trigger like this to leak.
Should it instead look like:
Code:
OrbShotMovement
Events
Time - Every 0.03 seconds of game time
Conditions
Actions
[B]Set testunitpos = ((Position of testunit)[/B]
Set testpoint = (([B]testunitpos[/B]) offset by 256.00 towards 0.00 degrees)
Custom script: call RemoveLocation (udg_testpoint)
Custom script: call RemoveLocation (udg_testunitpos)
Or should I not worry about the first box of code?