• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Hiding a unit?

Status
Not open for further replies.
Level 19
Joined
Feb 19, 2009
Messages
858
I'm making a map that's supposed to have a final boss appear at the very end. I want to hide him until he's good and ready to show up. How can I make it so the unit doesn't show up on the map initially but after a certain trigger is activated becomes visible and can be fought?
 
Level 19
Joined
Feb 19, 2009
Messages
858
There is literally a trigger action called "Unit - Hide unit". :p
Store your boss in a unit variable, hide it. Then unhide it when you need it to be shown.

I tried that but the unit is still there, completely unhidden. I think "hide unit" is just to keep the unit from getting tagged in certain triggers.

EDIT: Oh my, it works when I use it on the unit instead of the variable it's stored in. I think something went wrong with the variable.

EDIT: I've gotten it working and now I feel absolutely silly. Thanks!
 
Status
Not open for further replies.
Top