Thread: Mob Summons
View Single Post
  #2  
Old 08-10-2009, 11:48 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

From the wiki here:
http://www.eqemulator.net/wiki/wikka...a=QuestObjects

This is probably your best option:
MovePC(zoneID, x, y, z, ignorerestrictions= 0, summoned= false)


Something like this should do the trick:

Code:
my $myx = $npc->GetX();
my $myy = $npc->GetY();
my $myz = $npc->GetZ();

$client->MovePC(152, $myx, $myy, $myz);
$client->Message(15, "YOU have been Summoned!");
Depending on where you are using that, you might have to get the client before trying to use this.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote