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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-23-2009, 10:41 AM
Aeolwind
Fire Beetle
 
Join Date: Nov 2003
Posts: 9
Question Scripting Bzzazzt (EVENT_DEATH)

I'm working on scripting Sky for Project 1999. I have a sample of code for event death spawns on Pegasus isle which I'm cleaning up & fixing. I'm curious as to how you have different spawn codes for 3 mobs with the same name: Bzzazzt.

One spawns 2 mobs, one spawns 3 and one spawns 1.

Is it as simple as making the PL file Bzzazzt000, 001 and 002 and altering each to fit the respective spawns?
Reply With Quote
  #2  
Old 02-23-2009, 11:20 AM
Theeper
Discordant
 
Join Date: May 2004
Posts: 290
Default

Use the NPC's ID number as a file name. One for Bzzazzt might be 71005.pl
Reply With Quote
  #3  
Old 02-23-2009, 11:36 AM
Aeolwind
Fire Beetle
 
Join Date: Nov 2003
Posts: 9
Default

Ahh, so we'll need 3 Bzzazzt's in the DB, one for each spawn and then name the PL's after the spawnID & write the repspective code for each?
Reply With Quote
  #4  
Old 02-26-2009, 01:59 PM
laxative
Hill Giant
 
Join Date: Aug 2008
Location: NorthEast
Posts: 115
Default

Hi There,

Weird, I was working on the same bit of quest pieces. What I did for testing was append _boss to one of the spawns and tried the write the perl for the sequence.

This one is particularly tricky because they each spawn the same 2nd tier and 3rd tier mobs.

My first edit Did not work, The npc spawn with the adjusted name, but they did not follow the edit perl script. I think I might have had to reload.pl or some other GM command maybe?

But I think you are going to run into the same issue I ran into and may need to create the 2nd and 3tier mobs as well so you write the code appropriately.

Laxa
Reply With Quote
  #5  
Old 02-26-2009, 04:41 PM
Aeolwind
Fire Beetle
 
Join Date: Nov 2003
Posts: 9
Default Best way

I guess the best way to do it is copy the Bzz in the data base twice more. Affix each one to a specific spot and name the PL files based on the npctypeid. I haven't been able to mess with this as of yet so I cannot confirm.
Reply With Quote
  #6  
Old 03-02-2009, 11:51 PM
Bristlebane[nj]
Sarnak
 
Join Date: Mar 2009
Location: XXX
Posts: 78
Default

Well not too sure if you have come to the conclusion.
If you have 3 of the same named mob
Use their id for the .pl

so if the mob is 155399 then the 2nd one is 53559 then

155399.pl
53559.pl

This is what I used to do in my other server.
Reply With Quote
Reply


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:44 PM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3