Nice script , however you should remove the melee prayer support as it will instantly hit when it animates unlike magic and ranged attacks , or make it camp on Melee when in melee range.
Oops! Something went wrong!
[#CJOIN-0]There was an error connecting with the chat room. Please notify an administrator.
Need Help?
Our help documentation
Contact the community administrator
plz help
use a walkingevent
WalkingEvent walkingEvent = new WalkingEvent(position);
walkingEvent.setEnergyThreshold(50);
execute(walkingEvent);
this will start using run when it has 50% energy or you can use a webwalkevent to simply disable run:
WebWalkEvent webWalkEvent = new WebWalkEvent(position);
webWalkEvent.disableRun();
execute(webWalkEvent);
not really sure if these are what you wanted but they could work for you
walkingevent: http://osbot.org/api/org/osbot/rs07/event/WalkingEvent.html
webwalkevent: http://osbot.org/api/org/osbot/rs07/event/WebWalkEvent.html
edit: as for walking to the exact tile , you can use do:
WalkingEvent walkingEvent = new WalkingEvent(position);
walkingEvent.setMinDistanceThreshold(0);
walkingEvent.setMiniMapDistanceThreshold(0);
execute(walkingEvent);
or
WebWalkEvent webWalkEvent = new WebWalkEvent(position);
webWalkEvent.setBreakCondition(new Condition() {
@Override
public boolean evaluate() {
return position.contains(myPlayer());
}
});
execute(webWalkEvent);
damn i couldve been in op if i didnt resign
anyways happy 3 years , i will not be partaking in the giveaway as i do not even have facebook (i h8 social media in general) , it'll almost be 3 years that ive been a member of osbot as well (june)