Page 1 of 1

Waypoints and Clearing Target

Posted: Sat Sep 14, 2013 11:23 pm
by Bill D Cat
I was working on a waypoint file to run the quest "Thunderbolt Pet LI03" on the Elven Island. To do so, you have to target the Lively Ent and use the special food, then target it again and use the food to lure it all the way back to Ailkiss. I was setting up a string of waypoints to move a little, use the food, and then move again until I reached Ailkiss with the Ent in tow.

However, as soon as I move to the next waypoint in the sequence, the bot clears the target, and the Ent stops following and eventually disappears. Is there a way to toggle this auto-clearing of the target between waypoint steps? Or should I just convert the locations to use in a player:moveTo() function call?

Re: Waypoints and Clearing Target

Posted: Sat Sep 14, 2013 11:37 pm
by rock5
There is no way to maintain a target while the bot is moving between waypoint. You'll have to use the moveTo way. What I would do is create a little function that waits for and makes sure the target is in range. Then use that little function between moveTo's.