Massive unit spawn glitch [Solved]
Posted: Tue Feb 17, 2015 6:22 pm
Hi. Been awhile.
I ran into a problem. I added a unit unlock for player team upon completing an objective. It works, but too much lol. When the new class is unlocked, over 200 units spawn in.
I used this line
AddUnitClass(1, "p11_inf_officer", 10)
I assume the 1 is team 1, 10 means 10 units of this class.

I ran into a problem. I added a unit unlock for player team upon completing an objective. It works, but too much lol. When the new class is unlocked, over 200 units spawn in.
I used this line
AddUnitClass(1, "p11_inf_officer", 10)
I assume the 1 is team 1, 10 means 10 units of this class.