Warcraft III resources & community, 2003–2006 · archived

scripts and leaks

3 posts
#1

scripts and leaks

i have this script here i'm not so sure of. i want to prevent a leak, and i'm wondering if calling this script will destroy point1.

Set point1 = (Random point in random mobs 3 <gen>)
Unit - Create 1 Black Goblin for Player 12 (Brown) at point1 facing Default building facing degrees
Custom script: Call RemoveLocation(udg_point1)

also, do i need to do this to prevent a memory leak from point1? thanks.
#2
yea i think it does, and if u dont know for sure, just let it get checked bt the checker again
#3
jrulandCustom script: Call RemoveLocation(udg_point1)


try

Custom script: call RemoveLocation(udg_point1)

if you care about your script working.

other than that, yes, that will remove that particular leak