Jump to content

How can I disable ALL movement from the bot?


Brian

Recommended Posts

So, when I am in combat and lets say the unit is unattackable or behind me or something the player moves / turns to try and fix itself.  I don't want this.  If the bot is in combat, I don't want it to move at all even if my target is unattackable.  How can I do this?  Or, is there a way I can completely pause the bot in combat and unpause after combat? (I have my own rotation/combat manager that has sesperate from wrobot)

 

" [MovementManager] Trying something funny, hang on"  I want to disable this, I only want movement to happen if I specifically call .Move

Link to comment
Share on other sites

  • 3 weeks later...

Hello, 

Use WRobot events:

            wManager.Events.MovementEvents.OnMovementPulse += (points, cancelable) =>
            {
                cancelable.Cancel = true;
            };
            wManager.Events.MovementEvents.OnMoveToPulse += (point, cancelable) =>
            {
                cancelable.Cancel = true;
            };

(run this code one time by session)

Link to comment
Share on other sites

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...