Here: http://www.wc3c.net/showthread.php?t=101600Just make some system that recycles units instead of index´s and it would be awesome.
Here: http://www.wc3c.net/showthread.php?t=101600Just make some system that recycles units instead of index´s and it would be awesome.
Ew! Look how much stuff it calls compared to CreateUnit! :thup:
not a virus.
I fail to see how you could hit op limit, considering none of my functions cycle through all the units. Each function call is O(1) complexity. :thup:I suggest your hardcap the number of units you can index for safety purposes. If you have to cycle through over 8,000 units you will reach the limit operation given your functions.
Yep, that would be my bet. Especially if they're hidden with ShowUnit(unit,false).A map could probably have 9k dummy units without a drop in FPS.![]()