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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 06-14-2003, 07:01 PM
Bigpull
Discordant
 
Join Date: Feb 2003
Posts: 305
Default

Ok we have Npc's,
Bloody_Mary
Queen_Sheba1
Queen_Sheba2

and an npc just for zone scripting the encounter
Cocktail

We want Queen_Sheba2, to only respawn every 3 days after she's been killed, and to only be spawned for 90minutes, and to be available for retry in 3hours after despawning

We want Queen_Sheba1, to Spawn after the 90minutes if 2 wasnt killed

We want Bloody_mary's death to trigger Queen_Sheba2's spawning

now for quests.
Bloody_mary's slay event depop()'s 1, and writes to "blood_dead" a timestamp

Cocktail spawns every 3 minutes,

it's first spawn event checks "blood_dead" and "queen_dead"
if the timestamp occurs in the last three minutes and the queen isn't dead .
It spawns Queen_Sheba2, and write()'s a timestamp to "queen_spawn",
and an alive indicator to "queen_dead"

The next if checks "queen_spawn" if the timestamp is 90minutes ago it depop()'s Queen_Sheba2, and writes to "queen_respawn" another timestamp

The next if checks "queen_dead" and "queen_respawn" if the timestamp is 3 hours ago and the queen isn't dead, or if the timestamp is 3days old and the queen is dead, it will spawn() Queen_Sheba1

The final quest function would be a depop() on it's self so it all starts over in 3 minutes
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:55 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