craine 0 Posted August 29, 2016 Share Posted August 29, 2016 Hello, I know there is a way to use the MoveTo command in a RunCode step on quest profiles but, what is the exact sentences to move the bot on a specific hotspots ? Something like wManager.Wow.Helpers.MovementManager.MoveTo should work but, how should i give the position of the hotspots ? Link to comment https://wrobot.eu/forums/topic/3721-correct-sentences-for-moveto-in-runcode/ Share on other sites More sharing options...
BetterSister 367 Posted August 29, 2016 Share Posted August 29, 2016 do you wish to use pathfinder or own path? Link to comment https://wrobot.eu/forums/topic/3721-correct-sentences-for-moveto-in-runcode/#findComment-17361 Share on other sites More sharing options...
craine 0 Posted August 29, 2016 Author Share Posted August 29, 2016 1 minute ago, BetterSister said: do you wish to use pathfinder or own path? I would like to keep pathfinder. Link to comment https://wrobot.eu/forums/topic/3721-correct-sentences-for-moveto-in-runcode/#findComment-17362 Share on other sites More sharing options...
BetterSister 367 Posted August 29, 2016 Share Posted August 29, 2016 wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(38.23928f, 10.52102f, -4.297345f)); Runaro 1 Link to comment https://wrobot.eu/forums/topic/3721-correct-sentences-for-moveto-in-runcode/#findComment-17363 Share on other sites More sharing options...
Runaro 160 Posted August 29, 2016 Share Posted August 29, 2016 7 minutes ago, craine said: Hello, I know there is a way to use the MoveTo command in a RunCode step on quest profiles but, what is the exact sentences to move the bot on a specific hotspots ? Something like wManager.Wow.Helpers.MovementManager.MoveTo should work but, how should i give the position of the hotspots ? Not sure, maybe like that? <QuestsSorted Action="RunCode" NameClass="wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(38.23928f, 10.52102f, -4.297345f));" /> Or just add a FollowPath with a IsCompleteCondition <IsCompleteCondition>return (ObjectManager.Me.Position.DistanceTo2D(new Vector3(-591.455, 4074.51, 93.8132)) < 10);</IsCompleteCondition> Link to comment https://wrobot.eu/forums/topic/3721-correct-sentences-for-moveto-in-runcode/#findComment-17364 Share on other sites More sharing options...
BetterSister 367 Posted August 29, 2016 Share Posted August 29, 2016 Just now, Runaro said: Not sure, maybe like that? <QuestsSorted Action="RunCode" NameClass="return (wManager.Wow.Helpers.MovementManager.MoveTo(new Vector3(-591.455, 4074.51, 93.8132)) < 10);" /> Or just add a FollowPath with a IsCompleteCondition <IsCompleteCondition>return (ObjectManager.Me.Position.DistanceTo2D(new Vector3(-591.455, 4074.51, 93.8132)) < 10);</IsCompleteCondition> runcode part is wrong Runaro 1 Link to comment https://wrobot.eu/forums/topic/3721-correct-sentences-for-moveto-in-runcode/#findComment-17365 Share on other sites More sharing options...
Runaro 160 Posted August 29, 2016 Share Posted August 29, 2016 1 minute ago, BetterSister said: runcode part is wrong Edited. Thank you ;) Link to comment https://wrobot.eu/forums/topic/3721-correct-sentences-for-moveto-in-runcode/#findComment-17366 Share on other sites More sharing options...
craine 0 Posted August 29, 2016 Author Share Posted August 29, 2016 5 minutes ago, BetterSister said: wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(38.23928f, 10.52102f, -4.297345f)); Hey, thanks ! Link to comment https://wrobot.eu/forums/topic/3721-correct-sentences-for-moveto-in-runcode/#findComment-17367 Share on other sites More sharing options...
BetterSister 367 Posted August 29, 2016 Share Posted August 29, 2016 5 minutes ago, BetterSister said: wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(38.23928f, 10.52102f, -4.297345f)); OR you can use FollowPath as quest type Link to comment https://wrobot.eu/forums/topic/3721-correct-sentences-for-moveto-in-runcode/#findComment-17368 Share on other sites More sharing options...
craine 0 Posted August 29, 2016 Author Share Posted August 29, 2016 22 minutes ago, BetterSister said: do you wish to use pathfinder or own path? Just to know, how do you do without pathfinder ? you list all the hotspot ? Link to comment https://wrobot.eu/forums/topic/3721-correct-sentences-for-moveto-in-runcode/#findComment-17369 Share on other sites More sharing options...
BetterSister 367 Posted August 29, 2016 Share Posted August 29, 2016 Link to comment https://wrobot.eu/forums/topic/3721-correct-sentences-for-moveto-in-runcode/#findComment-17370 Share on other sites More sharing options...
craine 0 Posted August 29, 2016 Author Share Posted August 29, 2016 Ho well, thanks ! i'm stupid. Link to comment https://wrobot.eu/forums/topic/3721-correct-sentences-for-moveto-in-runcode/#findComment-17371 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