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!
Because im making a campaing with many maps.
In each map, you will get a new unit. At the end of the mission, you will receive a password.
If you enter the password in any map of the campaing, the unit will be unlocked.
I need to make a unit invisible in the board, unavailable.
Player - Make [Unit] Unavailable for training/construction by [Player]
I believe this works exactly the way you want it to work: the [Unit] will be invisible, you probably need to set a few of these actions at map init (to hide all units).
Then, when a player enters the code, just change "Unavailable" with "Available" and the player can create that unit.
So you want a unit to be unlocked/opened when you will have password right?
If so you could use variable of type boolean; if you receive the password set boolean to true and then check if boolean is true unlock/open the unit.
Edit: oh there's a better answer above... Hmmm, didn't think of that.
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.