How to change the Item Action Panel `open key`? and prevent mouse click to open it.

Justus

Member
Hello,
I want to trigger the `Item Action Panel` by a key, for example, Key_C.
And I want to prevent the mouse click and UISubmit button open this panel.
How could I do that?
 
You can disable the open ItemAction by unticking the UseItemOnClick option
1651734066366.png

Then you can add an Item ViewSlotContainer Item Action Handler
1651734182946.png
All this does is map input to open the Item Action Panel or call ItemAction directly using their index.
Of course you can write your own custom handler if you prefer avoiding our player input. It is fairly simple todo check out the source code for that component.
 
You can disable the open ItemAction by unticking the UseItemOnClick option
View attachment 8742

Then you can add an Item ViewSlotContainer Item Action Handler
View attachment 8743
All this does is map input to open the Item Action Panel or call ItemAction directly using their index.
Of course you can write your own custom handler if you prefer avoiding our player input. It is fairly simple todo check out the source code for that component.
Thank you very mush, this solved my problem.
 
Top