I´m currently recognizing serious performance problems in my map. After testing several functions i found the problem. Sinces i use a buff system that needs timed dummy units (with Aloc), those wont get removed after time is up. They where removed from screen (the model) but can still be found e.g. by GroupEnumUnitsOfPlayer. As number of units in map reaches 500 it gets laggy...
So two questions:
So two questions:
- Is it just an error of my code/thoughts or really the truth, that units with timed life wont be removed completly?
- How to fix it? I need to place a buff without using sleeps or timed units.