Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 07-21-2004, 02:22 PM
animepimp
Dragon
 
Join Date: Jan 2004
Posts: 860
Default

quest::spawn(npc_type,grid,guildwarset,x,y,z); - Spawn "npc_type" on "grid" with "guildwarset" at "x","y","z".

Npc_type is the id of the NPC you want to spawn. This id is the same number that you name the quest file. Grid is a grid number for the zone that they should walk around on. Just use 0 if you don't want them to walk. Guildwarset should be 0 unless you are running a guildwar server. And the rest is the position.

You cannot spawn a copy of the same NPC in a different place to do what you want in #1. You need to make 2 NPCs with the same name and stats but different IDs because they need to have different quest files.

And for #2 yes you can have them both spawn each other if you use the right spawn() syntax.

For #3 you cannot do this with perl quests. Only NPCs can trigger quests, not items. You could make a NPC with those quest files to turn stuff into them. Or there is a section of the DB devoted to combining items in containers with formulas to get something to come out, but I ahve no idea of the syntax and its fairly buggy.
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 11:09 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