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 10-28-2008, 03:47 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

The best way to accomplish this is to have an invisible NPC on a timer that checks for the presence of the NPCs you want down. Obviously, you'd want to make their IDs unique from other NPCs. They can be the same as each other, however. Once it determines that they are down, you can either have it send a singal to another NPC and then depop, or stop its timer and continue on with the script itself. The one thing you don't want to use is a counter. With counters, if two NPCs go down at exactly the same time, only one will be counted. This is because Perl can only process one action at a time. For a real life example look at: #phase2_timer.pl in potimeb which checks for the existence of the phase 2 wave 1 spawns, and then sends a signal to another NPC to pop wave 2 when they are down.
Reply With Quote
  #2  
Old 10-28-2008, 04:15 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I think this quest I submitted a while back should be useful to you:

http://www.eqemulator.net/forums/showthread.php?t=24869

It does a similar thing to what you are wanting to do. You can probably find good examples of the scripts to use from it.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 10-28-2008, 06:15 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

Also, the freshly redone Trial of Mastery Berserker Epic encounter uses many signals... On PEQ of course.
Reply With Quote
Reply

Thread Tools
Display Modes

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 03:46 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