• Hey! Register here to create your account, engage with the community, and talk about what is new!

How do I get an event to happen when I click on an inventory menu?

GamingCriminal

New member
Joined
Nov 21, 2021
Messages
1
Reaction score
0
I want to know how to get an event to happen when I click on an item in an inventory menu
 

bumpy

Forum adept
Overlord
Joined
Oct 6, 2020
Messages
113
Reaction score
35
I Dont Exactly Know But If I Took A Guess I'd Say [Playerevent >> [Player Click Inventory Slot] ] [Control >> [Wait a couple ticks] ] [If Player >> Cursor Item Equals{The Item} ] ] [Event]
[Player Event > Player Click Inventory Slot] >> [If Game > Event Item Equals] >> ...
 

Fghj240

Active member
Joined
Jun 5, 2021
Messages
53
Reaction score
8
Hey, if this doesn't work the way that worked for me was: Player Event: Click Inventory Slot, Control: Wait (1 Tick), If Player: NOT Has Item, Event.
This would trigger if you clicked on the wrong item and you didn’t have the correct item in your inventory.
 

blazebeckett

Active member
Joined
Mar 6, 2021
Messages
58
Reaction score
2
I Dont Exactly Know But If I Took A Guess I'd Say [Playerevent >> [Player Click Inventory Slot] ] [Control >> [Wait a couple ticks] ] [If Player >> Cursor Item Equals{The Item} ] ] [Event]
 

KidWolf21

Active member
Joined
Aug 2, 2021
Messages
49
Reaction score
10
I Dont Exactly Know But If I Took A Guess I'd Say [Playerevent >> [Player Click Inventory Slot] ] [Control >> [Wait a couple ticks] ] [If Player >> Cursor Item Equals{The Item} ] ] [Event]
Hey, if this doesn't work the way that worked for me was: Player Event: Click Inventory Slot, Control: Wait (1 Tick), If Player: NOT Has Item, Event.
 
Top Bottom