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
  #1  
Old 09-10-2014, 09:47 PM
Traul
Hill Giant
 
Join Date: Jun 2005
Posts: 105
Default Timer issue

Hi there, I'm trying to create a template to allow a change in how my named spawns work. I want the nameds to be guaranteed to spawn every, say, hour whether or not the spawngroup is being killed or not. I was trying to get it to work for the ghoul executioner in Lower Guk with no luck. Here's what I got:

Code:
sub EVENT_DEATH {
quest::enable_spawn2(1622);
quest::settimer("a_ghoul_executioner", 3600);
}

sub EVENT_TIMER {

	if($timer eq "a_ghoul_executioner") {
		quest::disable_spawn2(1622);
		quest::spawn2(66146,0,0,-890,622,-203,53.5);
		}
		
}
So upon death, the timer starts, and an hour later whatever is spawned will depop and the ghoul executioner will spawn in its place. That spawngroup then turns off until the ghoul executioner is killed again. But my code doesn't work at all. Does the timer only work if the NPC is alive?

The idea is so nameds will spawn guaranteed every hour but can still be camped for extra chances to spawn in between.
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 05:53 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