quest::movegrp
quest::movegrp
Explanation: Moves the player and his party to a chosen zone and a chosen location.
Full Command: quest::movegrp(zoneid,x,y,z)
Zoneid = The ID of the zone you want to move the party to. Can be found in your database.
X = The x Axis you would like to send the party to. Can be found by /loc but switch the x and y.
Y = The y Axis you would like to send the party to. Can be found by /loc but switch the x and y.
Z = The z Axis you would like to send the party to. Can be found by /loc.
Example:
# After hailing the NPC the player and his party is moved to zone 7 at location -123.45,1200.03,-34.11.
sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::movegrp(7, -123.45,1200.03,-34.11);
}
}
|