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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-05-2006, 05:26 PM
rmanders's Avatar
rmanders
Fire Beetle
 
Join Date: Oct 2004
Location: Ohio
Posts: 15
Default Connecting a quest to an NPC

How do you tie a quest to a specific NPC? I get that you need to place the .pl file in the EQEMU/Quests/<zone>/ folder. However I can't seem to get the quest to work with the NPC.

For Example:

I created a new NPC named Tiiana_Moonwulf and placed it in the cshome zone. Next, I created a Tiiana_Moonwulf.pl file and placed it in the EQEMU\quests\cshome\ directory. The perl file contents are:

Code:
sub EVENT_SAY { 
if($text=~/Hail/i){
quest::say("Greetings traveller. What brings you here?");
}

#END of FILE Zone:cshome -- Tiiana_Moonwulf

When I load up the game, and zone into cshome, the NPC is there, but no quest responses.

Based on the other quests in the folder, I assumed the quest.pl file needs to have the name of the NPC it's tied too (obviously this didn't work). I skimmed the quest lexicons but I didn't pick up anything about how to tie the quest to an NPC.
Reply With Quote
 


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 07:38 AM.


 

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