View Single Post
  #9  
Old 04-19-2012, 08:53 AM
chrsschb's Avatar
chrsschb
Dragon
 
Join Date: Nov 2008
Location: GA
Posts: 904
Default

Quote:
Originally Posted by jsr View Post
In your server folder structure is a quests folder, with a sub folder for each zone.

Save the script in the zone folder where the NPC spawns. The name of the script needs to be the NPC's name with a .pl suffix.

e.g. The_Rathe.pl

Each of the scripts Trevius gave here would be saved in a different file. He has documented the NPC names in the header of each script. These become the file names (suffixed with .pl)


If you've installed the PEQ database, the scripts in the pofire quest folder are a good example of how to setup scripts with signals. Take some time to get your head around what they do and you should be able to start making some decent scripts of your own.
Not trying to correct you, but you can also name scripts NPCID.pl. This is useful when you have npc names with special characters like apostrophes (dark elf names are great examples).
Reply With Quote