tedDudek420 Posted June 4, 2014 Posted June 4, 2014 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.
Link Posted June 4, 2014 Posted June 4, 2014 (edited) setRunning(boolean run) in the method provider Edited June 4, 2014 by Kirito
Nezz Posted June 4, 2014 Posted June 4, 2014 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) 1