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 05-20-2013, 10:26 PM
nenelan
Hill Giant
 
Join Date: Feb 2008
Posts: 116
Default

There's no "resetting" the list. When it gets a signal, that's over and done with. Us storing and manipulating variables is kind of like that list you are talking about.
We'll go back to my tests I was talking about.
So, say we start with a variable $placeholder = 0, we'll set this when the Event Handler mob spawns in EVENT_SPAWN. This will be what we are going to use to test our signals with.
Now, rather than using
Code:
if ($signal == 1) {
we will instead use
Code:
if (($placeholder + 1) == $signal) {
     $placeholder = $signal;
     ##Anything else we want done
}
And then in the false condition of that test, put whatever you would do to reset the event, as well as resetting $placeholder to 0. Depop mobs, repop mobs, heal mobs, etc.
So, as long as you give your critters the code to pass the signals of 1, 2, 3 on their death, this SHOULD handle it quite easily, and the rest is just mob manipulation.

Hopefully that helps!
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 07:36 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