- Joined
- Jul 28, 2013
- Messages
- 768
how can i remove leaks?
Should i just set a variable before picking units? (can you upload an example of a trigger for that i can follow)
i also saw people use a custom script "call DestroyGroup(udg_Group)". Will that work?
What's a point leak?
What are the bad effects of having leaks in your map triggers?
Is having few leaks leads to bad consequences?
Pffffffffffff i used crap like this like a 100 times without knowing. God help!![]()
About preventing memory leaks you can read http://www.hiveworkshop.com/forums/triggers-scripts-269/things-leak-35124/.
You should try yourself, and then ask again if you have problems with it.Also, pls can someone post a leak-free version of my Rune of Experience trigger?
Yes, you do not leak there.
I'm pretty sure items leak as well. I don't think tomes ever leave your map. You might notice a small dot where the hero got one and it just stays there forever. You could create a special effect for the animation (need to delete it since it also leaks) and use the trigger that adds experience instead.