🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
i use some possible leaking variables like Temp_Point , Temp_Group and so on, i use them on more than a trigger, and never remove them, does each 1 leaks only 1 time or it leaks on number of uses?
Well, if you want, you can check it on your own - just make a periodic trigger
Events:
Time - Every 0.5 second of game time
Conditions:
Actions:
Set TempPoint = (Random point in(Playable map area))
Unit - Create 1 Footman for (Player 1(Red)) at TempPoint facing (Default building facing degrees)
Every 0.5 second new unit and point are created, but are not removed - run map and wait few seconds, game will start to lagg like hell, even if its not online.
After your w3 (probably) crashed, just add the remove TempPoint custom script line at the end of the trigger, run map and wait. The game should start lagging a lot later.
@Up
Arh... faster.
Well, you know, just setting variables and leaving them unused doesn`t leak. But when you create a unit/special effect/anything, then it leaks.
@Up
Arh... faster.
Well, you know, just setting variables and leaving them unused doesn`t leak. But when you create a unit/special effect/anything, then it leaks.
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.