EQEmulator Forums

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

inkubus 07-16-2007 01:46 AM

Waypoints + $wp
 
Hi all,

I'm having a few issues with Waypoints which is causing a bit of a headache. I am trying to make an npc despawn when it reaches a certain waypoint (number 53).

I would have thought it would be this:

sub EVENT_WAYPOINT
{
if ($wp == 53)
{
quest::depop();
}

}

This is causing me a bit of a problem as the npcs's i'm spawn2()'in on paths are constantly looping on their patrol route.

Any suggestions?

I have also tried

sub EVENT_WAYPOINT
{
quest::say("I have reached a waypoint");
}

To see if it is working, but it doesn't even do that.

Thanks in advance

InKy

John Adams 07-16-2007 10:17 AM

Silly question, but do any of your perl quest scripts work? Try and hail and have a conversation with someone you know has dialog.

inkubus 07-26-2007 04:26 AM

Hi John, just so this thread isn't wasted. It's now resolved. You were right the error was further above in the same script.

Regards

Bolly


All times are GMT -4. The time now is 10:35 AM.

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