• 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
 

ChocoPlays

Well-known member
Joined
Mar 6, 2021
Messages
60
Reaction score
3
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
50
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.
 

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
54
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.
 
Top Bottom