🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
So you have a hero picking system. When a player has picked a hero use this:
Set booleans1[(Player number of (Triggering player))] = True
Add a line in the pick thingy, in conditions:
booleans1[(Player number of (Triggering player))] Equal to False
Create a unit or unit type array, where heroes[1] = hero1, heroes[2] = hero2 and so on. When someone picks hero, loop through the array and check the index of the picked unit. Then set the same index in another boolean array to true.
And again check the boolean before allowing a player to select the hero.
If you don't understand what I'm saying, then post the hero pick system you're using.
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.