Jump to content

Interacting without #interact?


Recommended Posts

Posted (edited)

InteractionEvent, have a look into that.

 

Yeah, I've seen the events but are they executed on a different thread? 

 

 

 

EntityDestination targetDest = new EntityDestination(getBot(), RS2OBJECTHERE);

if (getMouse().click(targetDest)) {
// opens menu, then use menu api
}
 
is the emergency back-up

 

 

Yeah, although that's a very hacky way.

 

EDIT:

 

I created a simple method that firsts hovers the entity, then checks the menu's tooltip to see if it's left click. If not it will right click and open the menu then try and select the action.

Edited by Zee Best

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...