Jump to content

help me about INodeRouteFinder.createAdvanced()


Recommended Posts

Posted (edited)

If you are simply walking to a location you can just do:

getWalking().webWalk(position);

Also, the creation of INodeRouteFinder is expensive, and should only be done once in a script, not every time you walk!!

 

Create the route finder at the start of your script and store it.

 

In the future when posting code to the Scripting Help section, please use the code tags, so that your code is properly formatted and coloured: e67f0bd9c0.png

Edited by Explv
  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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