How to detect a click on item?

Handless

New Member
Reaction score
2
Hello,

How can I detect when an usable item is targeted to the item itself, like when you double-click some inventory button in numpad?

I tried to detect the order ID, but it was exactly same as when you target the item's spell to ground.

Thanks in advance.
 

Nenad

~Choco Coronet~ Omnomnom
Reaction score
137
Maybe try to use boolean comparisons to exclude the other options if the order ID works (like checking if the target is not a hero, or ground unit etc.)
 

Handless

New Member
Reaction score
2
Well that's the problem - I don't know the order. When I created a trigger to show a message of every order ID, the double-click-ID was exactly the same as when I manually click the item and then target it to ground.
 

Jedi

New Member
Reaction score
63
(Target item of ability being cast) equal to (Manipulated Item)
I am not sure about you can click to a item inside inventory, though.Also you need to use "unit uses item" event to use item being manipulated response.
 
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