Brian 10 Posted November 9, 2016 Share Posted November 9, 2016 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 More sharing options...
Droidz 2722 Posted November 29, 2016 Share Posted November 29, 2016 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now