October 15, 20223 yr Is it possible to run my plugin before Quester's GoToTown runs, for example? Fight class written in c# instead of standard plugin is good alternative ?))
October 15, 20223 yr 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; };
March 13, 20233 yr 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