🏆 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!
It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
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.