Page 1 of 1

How to call a function at every waypoint

Posted: Sun Sep 21, 2014 5:53 pm
by cokebot
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.

Re: How to call a function at every waypoint

Posted: Sun Sep 21, 2014 11:28 pm
by rock5
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.

Re: How to call a function at every waypoint

Posted: Mon Sep 22, 2014 3:27 am
by cokebot
Thy I didn't know the replace feature. Worked perfectly