Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 05-29-2010, 11:34 AM
Tibador
Fire Beetle
 
Join Date: Jul 2009
Location: -
Posts: 2
Default Movepc question

Hello i am fairly new to using pearl so forgive my ignorance but is their a way to tie the movepc command to a moving npc ?

What i am using right now just moves them to a x,y,z but i would like the transporter to move them to a npc anywhere in the zone which might be moving and continue moving while the port is going on, now i know if zoning takes a long time they might miss it.

##Transporter script
sub EVENT_SPAWN
{
$x = $npc->GetX();
$y = $npc->GetY();
quest::set_proximity($x - 120, $x + 120, $y - 120, $y +120);
}

sub EVENT_ENTER
{
quest::movepc(zone_id,x,y,z);
}
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:16 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3