• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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