Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 06-09-2002, 08:17 AM
Baltar
Hill Giant
 
Join Date: Jan 2002
Posts: 185
Default

The npcid determines the file name. So if your npcid is 99 then the file will be 99.qst. The npcid can be located in the database
under the npc_types table. The column name is 'id'.

The directory does not exist in the default install, you will have to make it. Title it 'quests'.

for eg. if your emu directory is c:\eqemu, then the quest directory will be c:\eqemu\quests

Your sample Priest script would look like this:

NPC_SCRIPT 1 {
TRIGGER_TEXT:Hail:{
RAIN 0
EMOTE:Grins at %CHARNAME%
FACE_TARGET
SAY:Hello %CHARNAME%, I shall give you a skill or a level
SAY:Which one * skill * or * level *
}

TRIGGER_TEXT:skill:{
SAY:Here's some skill
SETSKILL 0 1
SETSKILL 1 1
SETSKILL 2 1
SETSKILL 3 1
}

TRIGGER_TEXT:level:{
say:Here's some level
LEVEL 60
}

* note * you must put a space after everyline or you will get
a parse error.

There are many more commands available but you gotta search
through wesquests.cpp for them
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 05:00 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