Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You have to "call RemoveLocation(udg_Variable)" before setting a new point in the variable, else you replace the value in the varible, but the point handle remains as a leak
The best is turning to JASS and using x/y real locals
You have to "call RemoveLocation(udg_Variable)" before setting a new point in the variable, else you replace the value in the varible, but the point handle remains as a leak
The best is turning to JASS and using x/y real locals
His question does using the same variable (Location) leaks every time we use it ? not every time you set it.
As I said, if you repeatedly using the same variable Location, it would not leak, but if you set the same variable location to a same location (yes, even to a same location), it would leak.
There is thin difference between use and set.
So in his case, he's using the same variable Location each time to spawn units, THIS WON'T LEAK as you're using the same variable, not setting it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.