• 🏆 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!

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