Jump to content

Recommended Posts

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

  On 8/29/2016 at 3:53 PM, 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 ?

Expand  

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)) &lt; 10);</IsCompleteCondition>

 

  On 8/29/2016 at 3:59 PM, 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)) &lt; 10);" />

Or just add a FollowPath with a IsCompleteCondition

<IsCompleteCondition>return (ObjectManager.Me.Position.DistanceTo2D(new Vector3(-591.455, 4074.51, 93.8132)) &lt; 10);</IsCompleteCondition>

 

Expand  

runcode part is wrong

  On 8/29/2016 at 3:57 PM, BetterSister said:

wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(38.23928f, 10.52102f, -4.297345f));

Expand  

OR you can use FollowPath as quest type

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