View Single Post
  #38  
Old 03-14-2005, 08:29 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default 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);
}
}
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com