View Single Post
  #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