bobbekong 0 Posted April 13, 2023 Share Posted April 13, 2023 I want my quester profile to go specific step after character die,what command and parameter should i use ? Link to comment https://wrobot.eu/forums/topic/15135-how-to-make-profile-force-to-go-specific-step-after-dead/ Share on other sites More sharing options...
Droidz 2738 Posted April 13, 2023 Share Posted April 13, 2023 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 https://wrobot.eu/forums/topic/15135-how-to-make-profile-force-to-go-specific-step-after-dead/#findComment-68034 Share on other sites More sharing options...
bobbekong 0 Posted April 13, 2023 Author Share Posted April 13, 2023 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 . Link to comment https://wrobot.eu/forums/topic/15135-how-to-make-profile-force-to-go-specific-step-after-dead/#findComment-68035 Share on other sites More sharing options...
bobbekong 0 Posted April 21, 2023 Author Share Posted April 21, 2023 BTW ,I was making a Dungeon profile .@Droidz How do I use those code ? Link to comment https://wrobot.eu/forums/topic/15135-how-to-make-profile-force-to-go-specific-step-after-dead/#findComment-68072 Share on other sites More sharing options...
Droidz 2738 Posted April 21, 2023 Share Posted April 21, 2023 You need to run this code once (before the quest or when the profile starts). Link to comment https://wrobot.eu/forums/topic/15135-how-to-make-profile-force-to-go-specific-step-after-dead/#findComment-68074 Share on other sites More sharing options...
bobbekong 0 Posted April 22, 2023 Author Share Posted April 22, 2023 纳克萨玛斯 - 单刷.xml I am using it like this , it seems work right now .but IDK if it's right or not. Link to comment https://wrobot.eu/forums/topic/15135-how-to-make-profile-force-to-go-specific-step-after-dead/#findComment-68077 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now