View Single Post
  #2  
Old 08-03-2009, 07:24 AM
Dibalamin
Hill Giant
 
Join Date: Dec 2007
Posts: 182
Default

Code:
sub EVENT_SAY {
  if($text=~/Hail/i){
    quest::emote("holds a cracked monocle up to his squinty eye.  'I say!!  A talking bear!!  Squire Fuzzmin, come and take a gander at this rare find.  The wonders never cease in the land of Kunark!!' ");
    quest::unique_spawn(84312,0,0,1985,-2243,-75);      # Spawn Squire_Fuzzmin for Wurmslayer quest
    quest::delglobal("hobble");                       
    quest::setglobal("hobble",$npc->GetID(),"3","F");   # Set global $hobble with Sir_Hobble's NPC ID so Squire_Fuzzmin can follow
    $hobble=undef;
  }
}
and

Code:
sub EVENT_SPAWN {
  quest::follow($hobble);
}
Only complaint I have about follow is that in some instances it is too close and I couldn't figure a way to control the distance... (POM My Finger/Not Yours for example and it will repeat again on Derakor)
__________________
Retired EMarr
Project1999 Developer
Reply With Quote