1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tutorial Webwalking

Discussion in 'Tutorials & Resources' started by frazboyz, Aug 8, 2014.

  1. frazboyz

    Joined:
    Nov 15, 2013
    Messages:
    339
    Likes Received:
    56
    I saw some one asking how does one use web walking with RuneMate, well, its simple!
    Code (Text):
    1. Traversal.getDefaultWeb().getPathBuilder().buildTo(new Coordinate(tile_x, tile_y))
    This piece of code returns a WebPath which is simple to traverse, all you need to do is invoke the method called 'step'.
    Code (Text):
    1. final WebPath path = Traversal.getDefaultWeb().getPathBuilder().buildTo(new Coordinate(tile_x, tile_y));
    2.         path.step(true);
     
    youramazingames, Sh4dows and Arbiter like this.
  2. Aidden

    Aidden Author of MaxiBots

    Joined:
    Dec 3, 2013
    Messages:
    6,606
    Likes Received:
    990
    Just a quick note, this is using the built in web. You can also build your own web and use that if you wish.
    Nice quick tutorial though :)
     
  3. Defeat3d

    Defeat3d Primate

    Joined:
    Oct 30, 2014
    Messages:
    3,073
    Likes Received:
    1,895
    Exactly what I'm looking for. Thanks!
     

Share This Page

Loading...