• 🏆 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!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[General] Detect which item was right clicked on

Status
Not open for further replies.
Level 18
Joined
Oct 17, 2012
Messages
835
Is there any way to detect which item button in the inventory the player right clicked on?

The one thing I can rely on is the fact that only the Cancel button appears on the command card after I right click an item.

I have tried detecting the item clicked on via order but no luck there. The issue with order is that just right clicking on an item is not an order.
 
Last edited:

Uncle

Warcraft Moderator
Level 68
Joined
Aug 10, 2018
Messages
7,126
These may help you get started:
Look into the Mouse Right Click feature of these systems (ItemBag may not actually have one).
 
Status
Not open for further replies.
Top