Jump to content

BusyAtSchool

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by BusyAtSchool

  1. Good afternoon,

    I am trying to move through an area that is well over my level. Unfortunately, when I revive - I get attacked and die, so I am trying to revive to the furthest point to continue forward.

    Is there a way that I can have a plug-in run me back to my body and then just stop?

    I attempted to use this code below, but it halts the bot at the Spirit Healer. I want to stop the bot, at my dead corpse, before resurrecting. 

     

    using System.Threading;
    using wManager.Wow.Bot.States;
    
    public class Main : wManager.Plugin.IPlugin
    {
        public void Initialize()
        {
            robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelable) =>
            {
                if (state is Resurrect || state is ResurrectBG)
                {
    				robotManager.Products.Products.ProductStop();
                }
            };
        }
    
        public void Dispose()
        {
        }
    
        public void Settings()
        {
        }
    }

     

×
×
  • Create New...