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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-17-2013, 04:01 PM
Dunge0nMastr
Hill Giant
 
Join Date: Oct 2002
Location: Rockville, MD
Posts: 124
Default

The best way I have found to do this is using Signals. I know you could set timers with entity_id checks but i find them cumbersome.

An example of a signal system would be:

NPC 1:
If NPC Dies (for example)
Code:
sub EVENT_DEATH {
quest::signalwith(NPCIDTOSIGNAL,#of signal,Time(i leave this at zero 99% of the time);
}
then on NPC2:
Code:
sub EVENT_SIGNAL{
if ($signal == X) {
do whatever you want him to do here;
}
}
and so forth.

Alot of stuff can be done using this method and its what i prefer to use. often times i will set up invisble NPCs to track events and have mobs send signals back and forth b/w the tracker and the ones actively engaged.

I used signals extensively in my Temple of Veeshan Ring of Vulak Event which i think are somewhere on these forums ill dig up a link for ya so u can look @ the trackers and how its all working.

Edit: heres the thread, http://www.eqemulator.org/forums/showthread.php?t=35922
I believe theres a zip at the end of it too for referencing.
__________________
Bront -Server Admin/Owner and Lead Quest Dev for Kildrukaun's Prophecy
http://kpemu.com/
Reply With Quote
 

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