Add On Interact:
Suggestion
Add a event on interact:
Why?
Instead of doing on right-click on chest:, on right-click on door, on right-click on button etc. You can do on interact: like how would guard has a flag for interact to cover all interaction types.
Other
No response
Agreement
- [X] I have read the guidelines above and affirm I am following them with this suggestion.
so basically a less useful click event? I dont see why they would need to make a whole other event for interacting with interactable objects
1, I would imagine that the interactions would be somewhat hard coded, as an on interact with [] is literally just on click on []
2, and if they were hard coded, some people wouldn't want the event to listen to some of these things, so just using the click event.
Skript’s on left/right click is based on PlayerInteractEvent and its inheritors. The user here is proposing a more ambiguous event instead.
This seems more like a quality of life feature. Sure you could list all the blocks but having this would be a bit easier and quicker.
This seems more like a quality of life feature. Sure you could list all the blocks but having this would be a bit easier and quicker.
This is my exact thought instead of listing all interactable it would just be on interact.
But all blocks can be interacted with. They may not do anything in response, but you can click on them. I don't really see the use in such an event, other than cancelling it, which is the same as:
on click:
event-block is set
cancel event