Hi everyone,
A quick question: does this leak?
Set LCPoint = (Position of Triggering Unit) offset by 15 in direction of (facing angle of Triggering Unit)
Unit - Move Triggering Unit to LCPoint Instantly
Custom Script - call RemoveLocation(udg_LCPoint)
Do I need to create a variable to store the Position of the Triggering Unit and clean it? Like:
Set LCPoint1 = (Position of Triggering Unit)
Set LCPoint2 = LCPoint1 offset by 15 in direction of (facing angle of Triggering Unit)
Unit - Move Triggering Unit to LCPoint2 Instantly
Custom Script - call RemoveLocation(udg_LCPoint1)
Custom Script - call RemoveLocation(udg_LCPoint2)
Any help would be appreciated.
P.S. It's really essential this peice doesn't leak, because I'll be running this trigger twenty times every second for every active player.
A quick question: does this leak?
Set LCPoint = (Position of Triggering Unit) offset by 15 in direction of (facing angle of Triggering Unit)
Unit - Move Triggering Unit to LCPoint Instantly
Custom Script - call RemoveLocation(udg_LCPoint)
Do I need to create a variable to store the Position of the Triggering Unit and clean it? Like:
Set LCPoint1 = (Position of Triggering Unit)
Set LCPoint2 = LCPoint1 offset by 15 in direction of (facing angle of Triggering Unit)
Unit - Move Triggering Unit to LCPoint2 Instantly
Custom Script - call RemoveLocation(udg_LCPoint1)
Custom Script - call RemoveLocation(udg_LCPoint2)
Any help would be appreciated.
P.S. It's really essential this peice doesn't leak, because I'll be running this trigger twenty times every second for every active player.