Jump to content

Recommended Posts

3 hours ago, Donkomon said:

Hello, is it possible to remove wManager.Wow.Bot.States?

like


wManager.Wow.Bot.States.Resurrect
wManager.Wow.Bot.States.Looting

 

If you would like to ignore states, you can do so. Below is an example of ignoring/cancelling the To Town State.

 


        robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += (engine, state, cancelable) =>
        {
            if (state != null && state.DisplayName == "To Town")
            {
              	Logging.Write("We have cancelled the To Town State");
                cancelable.Cancel = true;
            }
        };
      

 

Edited by Avvi

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
×
×
  • Create New...