Jump to content

localWalker.walkPath()?


MassRS

Recommended Posts

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?

 

 

Link to comment
Share on other sites

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
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.
Note: Your post will require moderator approval before it will be visible.

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