June 29, 20169 yr To describe the problem i have right now, my bot is supposed to walk somewhere and then do an action. it works fine apart from the fact that it has to finish the webwalking event and then after stopping for a second it then does the action. What im trying to do is have it do the action around 5 - 0 tiles away from the object. i even have the webwalking event inside a while loop "while(myPlayer().distance from object is greater than 5" yet it still waits for the whole event to finish. i was wondering if it is possible to stop the event around when in a certain distance from the point it is walking to.
June 29, 20169 yr Event.setBreakCondition(new Condition () //blah on mobile Return obj.distance < 10; );
Create an account or sign in to comment