Jump to content

How to avoid certain areas while webwalking


Recommended Posts

Webwalk to the area before the conflicting area, then in the conflicting area use a manual path to walk. If you need to walk further just resume webwalking after you get past the problem area.


I use this idea for draynor's attacking tree when I walk from draynor -> grand exchange





Area problem_area = new Area(...);
Area destination = new Area(...);
WebWalkEvent webEvent = new WebWalkEvent(destination);
webEvent.setBreakCondition(new Condition() {
    public boolean evaluate() {
        if (problem_area.contains(myPlayer())) {
            //build path here https://explv.github.io
            //use a foreach to loop through positions for the walkPath
            return true;
        } else
        return false;
Edited by Hayase
  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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