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!
How many loops should a map have? Is there a limit? At which count does the map only lag? Is it depended on the time interval (I mean if the loop restart after 0.02 or 2.0 sec)? pls help
The only way to add a time interval to loops is add a "Wait" function in them, and more then 6 loops running in any trigger will <Usually> cause wc3 to lag.
1 Very big loop (30 actions, 100 times) will lag also.
so if I add more than six "every bla bla seconds of the game" the game will lag, ok. But what happens if I turn them off when they aren't used or if the if-clauses in the loop got nothing to do? So you'll have to calculate the probability wether a time interval is running or not, to be sure that the map is free of lags
It also depends on the leaks you don't fix, whether you use Integer A/B, or a custom variable, how much the loop will activate, ...
Ohh, also: don't put waits in a loop.
Though I would personally use every 0.03 seconds (most of the time it has the same result).
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.