Jump to content

Recommended Posts

Hello, yes in quester fightclass is loaded before engine and plugins. You can't change that.

If you want cancel totown task when it's running you can 

robotManager.Events.FiniteStateMachineEvents.OnRunningLoopState += (state, cancelable) =>
        {
            if (state is ToTown)
                cancelable.Cancel = true;
        };

 

  • 4 months later...
On 10/15/2022 at 11:25 PM, Droidz said:

Hello, yes in quester fightclass is loaded before engine and plugins. You can't change that.

If you want cancel totown task when it's running you can 

robotManager.Events.FiniteStateMachineEvents.OnRunningLoopState += (state, cancelable) =>
        {
            if (state is ToTown)
                cancelable.Cancel = true;
        };

 

There is no OnRunningLoopState events ,do you change it to OnRunState?

FiniteStateMachineEvents Members (wrobot.eu)

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