Ok, I know what a leak is. I just want to clarify something. My question is do either of these leak?
Set PointN = (Position of X)
Unit - Create 1 (Missle) for Player 1 (Red) at (PointN offset by (Random real number between 400.00 and 1200.00) towards (Random real number between 1.00 and 360.00) degrees) facing Default building facing degrees
Custom script: call RemoveLocation(udg_PointN)
Or
Set PointN = ((Position of (X)) offset by (Random real number between 400.00 and 1200.00) towards (Random real number between 1.00 and 360.00) degrees)
Unit - Create 1 (Missle) for Player 1 (Red) at PointN facing Default building facing degrees
Custom script: call RemoveLocation(udg_PointN)
I don't believe they do
. If so, which is the right way to do it?
Set PointN = (Position of X)
Unit - Create 1 (Missle) for Player 1 (Red) at (PointN offset by (Random real number between 400.00 and 1200.00) towards (Random real number between 1.00 and 360.00) degrees) facing Default building facing degrees
Custom script: call RemoveLocation(udg_PointN)
Or
Set PointN = ((Position of (X)) offset by (Random real number between 400.00 and 1200.00) towards (Random real number between 1.00 and 360.00) degrees)
Unit - Create 1 (Missle) for Player 1 (Red) at PointN facing Default building facing degrees
Custom script: call RemoveLocation(udg_PointN)
I don't believe they do