emu Posted September 19, 2013 Share Posted September 19, 2013 I use this simple to interact with pretty much everything as I couldn't find one like this in the API. It's pretty basic and should be self explanatory. private boolean interactWith(String Name, String Interacion) throws InterruptedException{ RS2Object Next = null; Next = closestObjectForName(Name); if(Next != null){ Next.interact(Interacion); return true; } return false; } Link to comment Share on other sites More sharing options...
fre024 Posted September 20, 2013 Share Posted September 20, 2013 Would this not be better, because it won't give false positives? private boolean interactWith(String Name, String Interacion) throws InterruptedException{ RS2Object Next = null; Next = closestObjectForName(Name); if(Next != null){ return Next.interact(Interacion); } return false; } Link to comment Share on other sites More sharing options...
Tront Posted October 3, 2013 Share Posted October 3, 2013 Would this not be better, because it won't give false positives? private boolean interactWith(String Name, String Interacion) throws InterruptedException{ RS2Object Next = null; Next = closestObjectForName(Name); if(Next != null){ return Next.interact(Interacion); } return false; } He also needs to adjust the camera to turn to the object he is trying to interact with. That might fix the false positive as well since turning the camera to the object will increase it's likelihood to click it by a ton. Link to comment Share on other sites More sharing options...