EQEmulator Forums

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

spider661 07-23-2008 01:08 AM

quest::start
 
i see this command and it says walks to a waypoint but i cant seem to find a way to set a waypoint that is not part of a walking path.

what i want is the npc to stand there and do nothing but when hailed walk over to a spot an then sit down not talk to anyone (be unresponsive) then sit down and tell a story then after he done with his story stand up walk back to where he stated and start responding again.

is this doable?

Neiv 07-26-2008 06:36 PM

I use quest::start on two of my NPCs, but the value within the parentheses is a grid#, not a waypoint#. And they do not walk to the first waypoint in the grid; rather, they succor there and begin walking the grid.

Neiv 07-26-2008 06:45 PM

I think what you want to use is quest::moveto(x,y,z) combined with $npc->SaveGuardSpot(0);

Not sure of the syntax for the latter; it's found in Striat's quest code here. His note saye the code prevents the npc from running back to his original spot.


All times are GMT -4. The time now is 06:22 AM.

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