It really doesnt matter as long as you stay below the limit.
More variables in general will slightly increase loading time of the map, since the editor initializes all variables by default. However, this is just milliseconds. Besides that it might slightly increase memory usage of the map, but im not certain on this. Basically all this doesnt matter since other factors have a much MUCH higher impact on the maps performance, such as terrain, unit count, script efficiency and data.


Vicboy AuthorAnd are there remedies for it? As I develop this map, I want it to be quite optimized. But I've never really needed to go as far as having 9000 variables/arrays. I do have a plan to make a game which may require thousands of variables.
But anyway, what are the consequences of having more variables and is there anything I could do to make it less bad?
Triggers not working properly? Get a check up from Dr. Debug!