How to detect the target unit of an item?

Gluttonous

Active Member
Reaction score
1
I've tried just ignoring the item and making triggers that react based off the ability of the item, but they don't seem to register the ability being cast at all. On the other hand, while you can detect what unit is using an item through "Hero Manipulating Item", I can't find any field that I can use to recognize the target of an item.
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
Trigger:
  • (Target unit of ability being cast) Not equal to No unit


Use this condition, then you can ensure that the target is a unit and use (Target unit of Ability being cast)
 

TomTTT

New Member
Reaction score
44
Kaerf did say the way, but you don't have to use it only in a condition. Everytime a unit field can be set, you choose Target unit of ability being cast.
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
Actually it depends on whether the ability is only castable on units. If it's something like Item Shockwave, then there might not be a unit target.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top