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

[General] Detect which item was right clicked on

Status
Not open for further replies.
Level 18
Joined
Oct 17, 2012
Messages
821
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 64
Joined
Aug 10, 2018
Messages
6,543
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