wow20230625 0 Posted July 24 Share Posted July 24 in quester Is invalid ,but character will Automatic location to resurrection,Just like the following code: MovementManager.Go(PathFinder.FindPath(new Vector3(819.1201, 541.1679, 34.26245, "None")), false); while (MovementManager.InMovement && Conditions.InGameAndConnectedAndProductStartedNotInPause) { Thread.Sleep(100); } Link to comment Share on other sites More sharing options...
Droidz 2696 Posted July 26 Share Posted July 26 Hello, You won't be able to easily manage the character's movements from a quest profile when the character is dead. One of the possible approaches (untested code): robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancel) => { if (state is wManager.Wow.Bot.States.Resurrect) { if (ObjectManager.Me.IsDead) { MovementManager.Go(PathFinder.FindPath(new Vector3(819.1201, 541.1679, 34.26245, "None")), false); while (MovementManager.InMovement && Conditions.InGameAndConnectedAndProductStartedNotInPause && ObjectManager.Me.IsDead) { Thread.Sleep(100); } // cancel.Cancel = true; } } }; You need to run this code only once and add your own conditions for it to run at the right time. Link to comment 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