EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Waypoints (https://www.eqemulator.org/forums/showthread.php?t=29198)

neiv2 08-10-2009 07:52 PM

Waypoints
 
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 . . .

Code:

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.


All times are GMT -4. The time now is 12:01 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.