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-19-2008, 03:41 AM
Aonelyn's Avatar
Aonelyn
Hill Giant
 
Join Date: Jul 2005
Location: Felwithe
Posts: 192
Default Timers

Ok, im trying to write a quest that makes certain mob despawn 1 hr after it spawns, how would i do this?
__________________
lol.
Reply With Quote
  #2  
Old 05-19-2008, 11:18 AM
Cripp's Avatar
Cripp
Discordant
 
Join Date: Oct 2003
Location: The Shire
Posts: 474
Default

Code:
sub EVENT_SPAWN
{
	quest::settimer("depop",100000); 
}

sub EVENT_TIMER
{
	if ($timer eq "depop")
	{
		quest::depop();
	}
}
change 100000 to whatever it should be for an hour..
__________________
Nug Blazers - ServerOP / founder
^^comming... later!

www.nugblazers.com
Reply With Quote
  #3  
Old 05-19-2008, 11:34 AM
Aonelyn's Avatar
Aonelyn
Hill Giant
 
Join Date: Jul 2005
Location: Felwithe
Posts: 192
Default

thanks cripp!
__________________
lol.
Reply With Quote
Reply


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