How to call a function at every waypoint

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
cokebot
Posts: 54
Joined: Wed Oct 19, 2011 7:47 am

How to call a function at every waypoint

#1 Post by cokebot » Sun Sep 21, 2014 5:53 pm

Hi my question is, is it possible to call a function at every waypoint without copying it to all of them and without useing <onSkillCast> and so on.

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

Re: How to call a function at every waypoint

#2 Post by rock5 » Sun Sep 21, 2014 11:28 pm

Um... Short answer. No.

There is no OnWaypoint event. We could add such a feature but I think it's overkill. It shouldn't be too difficult to copy a function call to every waypoint, especially if you use your editors "Find & Replace" feature, and it's not something that's commonly needed. Even when there is a need to call the same function at multiple waypoints it's usually at certain waypoints, not all of them.
  • 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

cokebot
Posts: 54
Joined: Wed Oct 19, 2011 7:47 am

Re: How to call a function at every waypoint

#3 Post by cokebot » Mon Sep 22, 2014 3:27 am

Thy I didn't know the replace feature. Worked perfectly

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 4 guests