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!
can someone help me whit this Fucking Custom Script i don't get anything from it ( example : what dose this do ? ( call RemoveLocation(dng_AngrySouls_HeroPosition) ). I need some fucking help whit this Custom Script
when you use a location somewhere (like create a unit a a point), this location is stored in you computer memory
the problem is that warcraft keep this point in memory after using it, this is what we call a "memory leak"
a custom script is nothing else but a line of JASS in your GUI trigger
this one call (key word for saying wc we are calling a function execution) RemoveLocation; RemoveLocation remove the parameter location (dng_AngrySouls_HeroPosition here) from the computer memory.
basically, all you have to do is copy that line and replace "PointVariableName" with the name of your variable, which should be a point variable found in your variablelist. (I don't know if this only works with globals or not, but I only use globals in GUI for safety anyway)
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.