the following is some GUI code from my map:
Set point1 = (Random point in worker patrol 1 <gen>)
Unit - Order (Triggering unit) to Patrol To point1
my question is, how do i make sure the points and groups don't cause memory leaks? i tried using the following function:
Custom script: call RemoveLocation (udg_point1)
but the leak checker tells me that local variable point1 has not been removed. can anyone set me straight?
Set point1 = (Random point in worker patrol 1 <gen>)
Unit - Order (Triggering unit) to Patrol To point1
my question is, how do i make sure the points and groups don't cause memory leaks? i tried using the following function:
Custom script: call RemoveLocation (udg_point1)
but the leak checker tells me that local variable point1 has not been removed. can anyone set me straight?