July 24, 20232 yr 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); }
July 26, 20232 yr 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.
November 21, 20232 yr On 7/26/2023 at 5:20 PM, Droidz said: 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): I tested the code and although there were no errors, it was invalid. Do you have a better way
Create an account or sign in to comment