Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
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..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.