Roxxers 2 Share Posted July 17, 2021 Hey guys, Im looking to write a QOL script that will do a sequence of events , walk here do this, teleport there do that. I would like to eventually script into it my daily tree runs too. Ive got the banking to work but for the life of me i cant get my head around walking. Im struggling to understand the api for walking. and a lot of the previous posts are using old code. what do i need if i want to walk to a specific tile open any doors required to get there and sleep until that is completed? appreciate the help, i know its simple but i just cant figure it out Link to comment Share on other sites More sharing options...
Bonfire 331 Share Posted July 17, 2021 if (Walking.shouldWalk() && Walking.walk(theDestinationTile)) { MethodProvider.log("Walking..."); } I think that should be it? Link to comment Share on other sites More sharing options...
Roxxers 2 Author Share Posted July 17, 2021 Where it says the destination tile do I list that as coordinates xxxx, yyyy ? Or do I define a tile and reference it? 18 hours ago, Bonfire said: if (Walking.shouldWalk() && Walking.walk(theDestinationTile)) { MethodProvider.log("Walking..."); } I think that should be it? Link to comment Share on other sites More sharing options...
Bonfire 331 Share Posted July 18, 2021 3 hours ago, Roxxers said: Where it says the destination tile do I list that as coordinates xxxx, yyyy ? Or do I define a tile and reference it? You'd provide a Tile object Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.