Lyraedan Posted January 28, 2023 Share Posted January 28, 2023 I'm trying to listen to the event that triggers when you inspect an item, entity or object in the world. I know Listen for event already exists inst:ListenForEvent(event, callback) However I can not find a list of accessable events. What I'm trying to do is just get the name of the item, entity or object the player is inspecting. Does anyone have any insight on this? Link to comment https://forums.kleientertainment.com/forums/topic/145805-can-i-listen-to-the-inspect-event/ Share on other sites More sharing options...
IronHunter Posted January 29, 2023 Share Posted January 29, 2023 Pretty sure there is no event for inspecting things, so your best option is to hook the inspectable component and create your own. is a good tutorial on how to hook things, combined with a simple addcomponentpostinit for the inspectable component and you should be able to figure out the rest. Link to comment https://forums.kleientertainment.com/forums/topic/145805-can-i-listen-to-the-inspect-event/#findComment-1619413 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now