PDA

View Full Version : Issues with sub EVENT_WAYPOINT


mystic414
05-10-2005, 07:05 PM
Sorry if this belongs in a different forum. I wasn't sure the best place to post it.

Two issues:

1. $wp is supposed to have the number of the waypoint that has been reached assigned to it, but this appears to be broken. In my experience the variable is empty. Did the fix Cripp posted a while back ever get into cvs? http://www.eqemulator.net/forums/showthread.php?t=15340

2. I was under the impression sub EVENT_WAYPOINT was supposed to trigger when the mob REACHES a waypoint, but it would seem it triggers only when the mob leaves for the next waypoint. For example, if you have the mob pause for a while at a given waypoint, sub EVENT_WAYPOINT doesn't trigger until after the pause if finished. I see this as a bug because it seems counter-intuitive and there appears to be no way to use the time while the mob is paused to do something else. For instance, I'd like to be able to have the mob emote something when he gets to a waypoint ("Bob sits down") and when he leaves for the next waypoint ("Bob stands up"). This would be easy to do with timers if sub EVENT_WAYPOINT were triggered when the mob arrives at the waypoint, but it seems impossible to do with the way it works now.

Any thoughts?

mystic414
07-22-2005, 07:10 AM
I posted an updated fix in the development forums: http://www.eqemulator.net/forums/showthread.php?t=19020