Jump to content

How to make profile force to go specific step after dead


bobbekong

Recommended Posts

Hello, you should use events :

robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelable) =>
{
    if (state is wManager.Wow.Bot.States.Resurrect &&
        ObjectManager.Me.IsDead)
    {
        // you code here
        cancelable.Cancel = true;
    }
};

 

Link to comment
Share on other sites

14 minutes ago, Droidz said:

Hello, you should use events :

robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelable) =>
{
    if (state is wManager.Wow.Bot.States.Resurrect &&
        ObjectManager.Me.IsDead)
    {
        // you code here
        cancelable.Cancel = true;
    }
};

Can I make it in the Easy Quests Editor ? Sorry I am really new at codes  .

QQ图片20230413222826.png

Link to comment
Share on other sites

  • 2 weeks later...

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...