- Joined
- Aug 13, 2007
- Messages
- 309
What is the maximum number of units one can possibly have in a map?
My unit attributes array is sized 8193 but it seems to me the map stops spawning new units way before that number is reached.
I could reduce the amount of memory for my arrays if I know the maximum...
Edit: According to this thread http://us.battle.net/sc2/en/forum/topic/2913212728 the limit is at 4096 however there is some uncertainty in regards to how many units you can have that don't have commands. It seems 4096 is how many units you can have in the map which have commands.
My unit attributes array is sized 8193 but it seems to me the map stops spawning new units way before that number is reached.
I could reduce the amount of memory for my arrays if I know the maximum...
Edit: According to this thread http://us.battle.net/sc2/en/forum/topic/2913212728 the limit is at 4096 however there is some uncertainty in regards to how many units you can have that don't have commands. It seems 4096 is how many units you can have in the map which have commands.
Last edited: