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

Forcibly Hiding the Health Bar

Status
Not open for further replies.
Level 37
Joined
Mar 6, 2006
Messages
9,240
  • Remove Locust
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Set u = (Random unit from (Units currently selected by Player 1 (Red)))
      • Custom script: call UnitAddAbility(udg_u, 'Aloc')
      • Custom script: call UnitRemoveAbility(udg_u, 'Aloc')
      • Unit - Hide u
      • Unit - Unhide u
      • Wait 5.00 seconds
      • Unit - Add Bear Form to u
      • Unit - Order u to Night Elf Druid Of The Claw - Bear Form
      • Unit - Remove Bear Form from u

The things before the wait disable the health bar. A downside is that the unit can't be targeted by a player, and it can only be selected by drag selecting. Units can auto-attack it though.

The bear form trick enables the health bar again. Use metamorphosis for heroes. Set mana cost to 0 and required level to 1. You don't have to edit the unit types.
 
Status
Not open for further replies.
Top