Jump to content

Acerd

Scripter I
  • Posts

    5430
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Posts posted by Acerd

  1. 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.

  2. 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);
    • Like 2
  3. Pain and I are most likely going to japan this summer with another one of our friends this summer. Only reason I'm saying most likely is because pain might not be able to go because of school. Regardless, I will be going there biggrin.png Can't wait actually, seems like a great place to visit.

    damn , have fun

     

    anyways i'll be going to sweden again and will stay there for a couple weeks , meet my childhood friends and family and chill i guess.

×
×
  • Create New...