Jump to content

How do I make my character run


Recommended Posts

Posted

I'm trying to figure out how to make my character sprint with osbot, I can't find a method for it anywhere in the api. I tried to just have to move the mouse to the boot icon by the minimap but I'm not sure how to use the client.MoveMouse method to make it move the a specific x and y coordinate on the screen. Any insight would be helpful.

Posted

osb2:

settings.setRunning(true); (I think)

 

osb1:

setRunning(true);

 

Then to turn off, just change true to false.

 

To check if you are running:

osb2:

settings.isRunning()

 

osb1:

isRunning()

 

Both return a boolean value, true if you're running, false if you're not. (by running, I mean sprinting)

  • Like 1
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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