most of you might have heard this question alot but i need help limiting 1 unit per player so when i select a new unit it replaces the unit i have and gives me the other one
uh just make a unit variable array each array being the player number and do like Event: A unit is trained(or w/e) Conditions: Actions: remove playersunit[player number of owner of (triggering unit)] from the game set playersunit[player number of owner of (triggering unit)] = last trained unit(or w/e)
ya...so basically you build a footman and it doesnt remove any unit because there is no other but it sets that footman into the variable. the next unit you train be it a rifleman or w/e it will remove the footman and set the rifleman to the variable..