Jump to content

localWalker.walkPath()?


Recommended Posts

Posted

That means it's deprecated.

 

It will still work, but it's being phased out.

 

Use the Walking class instead.

 

getWalking()

 

localWalker.walkPath(toship);

 

toship is my path.

but when i use this code the walkPath part gets a strike through it as shown above..

 

Is this a problem or will it run fine?

 

 

Posted

use 

getWalking().webWalk(new Position(xcoord, ycoord, height));

a Yellow strikethrough means a method is deprecated which means it's still in the API, but there is a better method available and one that is also more up-to-date. A deprecated method is usually going to be removed soon so having it in your scripts is bad because after you release the script, if the devs release a build that no longer supports that method your whole script will break until you update it with the new build path and updated methods.

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