Kensen 0 Posted June 2, 2019 Share Posted June 2, 2019 Hi all How to make bot Force Move to position if procs condition. at current grinder or other state? Link to comment https://wrobot.eu/forums/topic/11349-force-move-to-position/ Share on other sites More sharing options...
Droidz 2738 Posted June 4, 2019 Share Posted June 4, 2019 Hello, use code like (not tested, run this code one time): wManager.Events.FightEvents.OnFightLoop += delegate(WoWUnit unit, CancelEventArgs cancelable) { if (your procs condition) { var toPosition = new Vector3(1, 2, 3); wManager.Wow.Helpers.MovementManager.MoveTo(toPosition); while (wManager.Wow.Helpers.MovementManager.InMoveTo && toPosition.DistanceTo(wManager.Wow.ObjectManager.ObjectManager.Me.Position) > 0.7) { System.Threading.Thread.Sleep(10); } } }; TheSmokie 1 Link to comment https://wrobot.eu/forums/topic/11349-force-move-to-position/#findComment-54305 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