Jump to content

Recommended Posts

Any idea to solve this error of "Unable to do while moving" or perhaps using other method? that causing infinite loop of pos and object position.

    if ( wManager.Wow.Bot.Tasks.GoToTask.ToPosition(pos, distance)  && o.IsValid)  {
        wManager.Wow.Helpers.Interact.InteractGameObject(o.GetBaseAddress);
            }  

Link to comment
https://wrobot.eu/forums/topic/5876-unable-to-do-while-moving-loop/
Share on other sites

  if ( wManager.Wow.Bot.Tasks.GoToTask.ToPosition(pos, distance)  && o.IsValid)  
  {
  	if (!MovementManager.InMovement)
    {
    	wManager.Wow.Helpers.Interact.InteractGameObject(o.GetBaseAddress);
    }
  } 

or if you want to stop the movement since you reached the target
 

            // Still moving?
            if (MovementManager.InMovement)
            {
                // Stop
                MovementManager.StopMove();
            }

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...