Twin Posted May 26, 2015 Posted May 26, 2015 So i've never had this issue before, or maybe I haven't noticed it, but while local walker is walking, nothing can happen besides it finishing it's destination. For example, in my script, eating is the top priority, but, no matter where it's at, it will not eat until the script finishes walking. Is there anyway to kind of break out of local walker so it can do something such as eat? 1
Vag Posted May 26, 2015 Posted May 26, 2015 It would indeed to be neat if other stuff could override localwalker - so many opportunities.
Alek Posted May 26, 2015 Posted May 26, 2015 Unless you have a separate thread, no. It's the order of execution, how else would you be able to call code before it is even reached? We could have walking events accept break parameters, however I'm not sure if I want to create even more API which I have to maintain in the long run.
Twin Posted May 26, 2015 Author Posted May 26, 2015 Unless you have a separate thread, no. It's the order of execution, how else would you be able to call code before it is even reached? We could have walking events accept break parameters, however I'm not sure if I want to create even more API which I have to maintain in the long run. That's what I thought, i've just never really needed to get out of the bot walking until just now. It's honestly not a huge deal, I just thought there might be some easy way to do it that I was missing.
Alek Posted May 26, 2015 Posted May 26, 2015 I might consider checking conditions in the walking event, however it will be when we're looking over the walking code again. 1