Jump to content

Anyway to interupt local walker?


Recommended Posts

Posted

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?

  • Like 1
Posted

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.

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...