PDA

View Full Version : quest::start


spider661
07-23-2008, 01:08 AM
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 (http://www.eqemulator.net/forums/showthread.php?t=25728). His note saye the code prevents the npc from running back to his original spot.