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.