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

Need a condition.

Status
Not open for further replies.
Level 5
Joined
Feb 19, 2008
Messages
110
I wanna make this trigger.

-Event: -Unit finishes casting an ability.
-Conditions: (dont find anything for this) -targeted "thing" is equal to an item.
-Actions: -Remove targeted item.
-Create item of type (Hello) at position of targeted item.

Anybody got a condition checking if targeted thing is an item? :p
 
Level 5
Joined
Apr 8, 2006
Messages
130
You mean like this?

  • Events
  • Conditions
    • (Item-class of (Target item of ability being cast)) Equal to Any-Class
  • Actions
That'll make the action activate only if the spell is being cast on an item. You can change the any-class to any item class, or change the Item-class to a specific item or item-type
 
Status
Not open for further replies.
Top