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 |
Silly question, but do any of your perl quest scripts work? Try and hail and have a conversation with someone you know has dialog.
|
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.