Tutorial Webwalking

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

  1. 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. 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. Exactly what I'm looking for. Thanks!
     

Share This Page

Loading...