PDA

View Full Version : Waypoints


neiv2
08-10-2009, 07:52 PM
Is there some quest function, object or variable that can specify a waypoint? It seems to me that sub EVENT_WAYPOINT would be much more useful if you could specify that an action is triggered at a single specifed waypoint rather than all waypoints indiscriminately. Something along the lines of . . .

sub EVENT_WAYPOINT
{
if ($waypoint == 3)
{
quest::shout("I have arrived at waypoint 3");
}
}

Is there anything with this effect, or does this need to go under Feature Requests?

trevius
08-10-2009, 08:02 PM
Try using $wp instead of $waypoint. Works just fine.

neiv2
08-10-2009, 09:19 PM
The worst part is, I knew that was there.

Oh well; better to be embarrassed by a simple solution than to waste countless more hours trying to script a work-around. Thanks again.