Jump to content

Using MoveTo in RunCode


knights

Recommended Posts

Need some assistance in coding, I wish to use RunCode in Quester for the bottom

For example I want to move to the NPC, "Lake Frog" to be exact.. ID = 33211

So the location is not fixed. I stumbled across the below while going through the wManager resource. Any example? I am trying to complete "A Blade Fit for a Champion"

but the issue would be the bot would not move to the Frog that it is blowing a kiss. How do I get the bot to move to the frog?

The code below is for my RunCode

while (!Quest.GetLogQuestIsComplete(13673))
{
ItemsManager.UseItem(44986);
wManager.Wow.Helpers.Lua.RunMacroText("/tar Lake");
wManager.Wow.Helpers.Lua.RunMacroText("/kiss");
System.Threading.Thread.Sleep(10000); // wait 10 sec
}

able to use the below code?

Quote

wManager.Wow.Helpers.MovementManager.MoveTo(wManager.Wow.ObjectManager.WoWUnit)

Thank you!

 

Link to comment
Share on other sites

I am currently using this as a workaround. however the Npc moves around. So it will not be the optimal code to do it. Is there auto move to Npc without setting the vector?

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