• 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.

Is there a way to hide healthbar of unit (not locust ability)?

Status
Not open for further replies.
Level 4
Joined
Jun 1, 2007
Messages
92
Set "Art - Selection Scale" to 0.00 in the Object Editor, it hides the lifebar, however the selection circle too.
 
Level 7
Joined
Mar 24, 2008
Messages
184
If you still need another solution, this is the GUI version of what Hanky posted. This trigger gives your unit the locust ability (can't be done without custom script) then hides it (you won't notice it anyway, maybe you will have problems if the unit is selected, it could unselect it...not sure though) removes the locust ability and then unhides it again. For more informations check this page: The Warcraft III Ability Guide - Wc3campaigns and look for Locust

  • Actions
    • Set YourUnit = The unit you need to modify
    • Custom script: call UnitAddAbility(udg_YourUnit,'Aloc')
    • Unit - Hide YourUnit
    • Custom script: call UnitRemoveAbility(udg_YourUnit,'Aloc')
    • Unit - Unhide YourUnit
 
Status
Not open for further replies.
Top