Easy Posted January 15, 2016 Share Posted January 15, 2016 What api would I use? Quote Link to comment Share on other sites More sharing options...
iJodix Posted January 15, 2016 Share Posted January 15, 2016 i'm pretty sure you can't check if you're interacting with object. Quote Link to comment Share on other sites More sharing options...
Tom Posted January 15, 2016 Share Posted January 15, 2016 You can check if your player is animating, or check if you successfully interacted with e.g. if(object.interact("Open")){ } Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted January 15, 2016 Share Posted January 15, 2016 you can't check if you are interacting with object You could check your and object position and rotation to compare it Khaleesi Quote Link to comment Share on other sites More sharing options...
Easy Posted January 15, 2016 Author Share Posted January 15, 2016 you can't check if you are interacting with object You could check your and object position and rotation to compare it Khaleesi someone should hook the players interacting rsentity if thats a thing (im pretty sure it is), but i'll go with the orientation workaround. ty bb Quote Link to comment Share on other sites More sharing options...
Xerion Posted January 15, 2016 Share Posted January 15, 2016 (edited) someone should hook the players interacting rsentity if thats a thing (im pretty sure it is), but i'll go with the orientation workaround. ty bb There is only a hook for a Character (NPC or Player). There is no such thing for objects. Your best bet is probably to save which object you last interacted with. Edited January 15, 2016 by Xerion Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted January 15, 2016 Share Posted January 15, 2016 someone should hook the players interacting rsentity if thats a thing (im pretty sure it is), but i'll go with the orientation workaround. ty bb There is no hook for it.. Quote Link to comment Share on other sites More sharing options...
Easy Posted January 17, 2016 Author Share Posted January 17, 2016 (edited) There is no hook for it.. i knew there was one for interacting npc, so i just assumed there was one for object.. Edited January 17, 2016 by Flamo Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted January 17, 2016 Share Posted January 17, 2016 i knew there was one for interacting npc, so i just assumed there was one for object.. ya thats bcs and npc is also interacting with you But an object doesn't interact with you Quote Link to comment Share on other sites More sharing options...