Replies: 6 comments 6 replies
-
check class PlayerInteract and patch it, no problems 😎 |
Beta Was this translation helpful? Give feedback.
-
The proper way to listen for inventory open/close is using PlayerAnimator.onGestureUpdated which has EPlayerGesture.INVENTORY_START/STOP respectively. AFAIK there are no other events or methods that get networked by the client besides this. Its not super intuitive but its what we have, currently. |
Beta Was this translation helpful? Give feedback.
-
you need to get inventory on "G"? |
Beta Was this translation helpful? Give feedback.
-
I think it can be relevant for your question #2981 (comment) |
Beta Was this translation helpful? Give feedback.
-
Yep, QERT2002 is correct, this won't work once a client has equipped a weapon My attempts:
8b496d74-69f3-44b4-b50f-c495b7dc0d5e.mp4 |
Beta Was this translation helpful? Give feedback.
-
Solution: Patch ReceiveGestureRequest, this way you can know when inventory is opened/closed |
Beta Was this translation helpful? Give feedback.
-
Nelson, hi.
When will the event for opening and closing inventory be implemented?
This is quite an important event for coders.
Beta Was this translation helpful? Give feedback.
All reactions