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

Invulnerable

Status
Not open for further replies.
Level 37
Joined
Aug 14, 2006
Messages
7,601
Hey.

I was wondering is it possible to check if a unit is Invulnerable or not. I made a test map but it doesn't work.

  • Untitled Trigger 003
    • Events
      • Player - Player 1 (Red) Selects a unit
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) has buff Invulnerable) Equal to True
        • Then - Actions
          • Game - Display to (All players) the text: INV
        • Else - Actions
          • Game - Display to (All players) the text: VUL
Rep for the one who knows the answer.
 

Attachments

  • INV.w3x
    17.4 KB · Views: 49
Status
Not open for further replies.
Top