organicjello Posted February 27, 2015 Share Posted February 27, 2015 Sorry to have to ask this question, because I feel it's very nooby, but thought I'd give it a chance anyways. I found Maxi's walker class, but I'm just confused overall by its methods and constructor. It seems like to me that this Walker actually uses the LocalPathFinder to generate a path to a destination (which I have no idea how that works). The constructor takes a Script argument, but I'm confused as to what exactly this Script variable is. API says its the base of a script which I have no idea what that means. If you want to implement the class into a script, how would you pass that script argument into the constructor? Seems like a dumb question in my mind, but I just don't get it. Thanks to everyone who is active on here. Seems like a great community that actually helps people learn. http://osbot.org/forum/topic/55480-walker-with-basic-obstacle-handling/ Quote Link to comment Share on other sites More sharing options...
Soldtodie Posted February 27, 2015 Share Posted February 27, 2015 Use Walker walk = new Walker(this); or Walker walk = new Walker(getBot().getScriptExecutor().getCurrent()); 1 Quote Link to comment Share on other sites More sharing options...