Force script to start at first WP not closest?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Buster99
Posts: 69
Joined: Fri Nov 25, 2011 9:27 am

Force script to start at first WP not closest?

#1 Post by Buster99 »

When I am running a script and then load another path there are times when the bot takes me to "closest" WP instead of starting with my frist WP written in script.

Is there way to prevent this? I simply want script to always start at WP #1.

Thanks
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Force script to start at first WP not closest?

#2 Post by rock5 »

When loading a waypoint file it starts at the closest waypoint. This is as intended. If you want to make sure it starts at waypoint one then add this to the waypoint onload

Code: Select all

<onload>
__WPL:setWaypointIndex(1)
</onload>
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
Buster99
Posts: 69
Joined: Fri Nov 25, 2011 9:27 am

Re: Force script to start at first WP not closest?

#3 Post by Buster99 »

Perfect.

Thanks Rock!
Post Reply