zeejfps Posted June 12, 2014 Posted June 12, 2014 I can not seem to get it to work, is Walking even currently broke ? This is what I am doing: @Override public int onLoop() throws InterruptedException { WalkingEvent e = new WalkingEvent(); e.setPath(SOMEPATH); e.execute(); return 500; }
zeejfps Posted June 12, 2014 Author Posted June 12, 2014 ask a big scripter Thats why I am asking here...
Botre Posted June 12, 2014 Posted June 12, 2014 Maybe this'll help you. http://osbot.org/forum/topic/48602-osbot2-event-node-driven-script-skeleto/
Swizzbeat Posted June 12, 2014 Posted June 12, 2014 Just use the localWalker instance provided by the Script class. 1
zeejfps Posted June 12, 2014 Author Posted June 12, 2014 Just use the localWalker instance provided by the Script class. Can not, I have created an A* pathing algorithm that generates a path from a position to a position taking into account collision flags, etc, etc... Now I just need a good way to traverse the path, and I do not feel like rewriting the walking.
Swizzbeat Posted June 12, 2014 Posted June 12, 2014 Can not, I have created an A* pathing algorithm that generates a path from a position to a position taking into account collision flags, etc, etc... Now I just need a good way to traverse the path, and I do not feel like rewriting the walking. If you create the entire path using map data, then just use a pathing algorithm to walk the path. If you find the destination point position by position as you walk then just create a MiniMapTileDestination of the point and click it.
zeejfps Posted June 12, 2014 Author Posted June 12, 2014 If you create the entire path using map data, then just use a pathing algorithm to walk the path. If you find the destination point position by position as you walk then just create a MiniMapTileDestination of the point and click it. That is what I need, the pathing algorithm, aka the part that will click on the tiles or the minimap. Like I said I can write my own but I do not see the point when it should be build in.