• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[General] Detect which item was right clicked on

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