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

[Trigger] "Unit type of target unit of ability being cast" does not work...

Status
Not open for further replies.
Level 10
Joined
Feb 19, 2006
Messages
237
The "Unit type of target unit of ability cast" condition returns false even though it is true. Whats wrong with this trigger?

  • Trap Disabler
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Trap Disabler
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Target unit of ability being cast)) Equal to Knife Trap
        • Then - Actions
          • Game - Display to (All players) the text: target unit type is knife trap!
        • Else - Actions
          • Game - Display to (All players) the text: target unit type is NOT knife trap!
 
Status
Not open for further replies.
Top