View Full Version : Timers
Aonelyn
05-19-2008, 03:41 AM
Ok, im trying to write a quest that makes certain mob despawn 1 hr after it spawns, how would i do this?
Cripp
05-19-2008, 11:18 AM
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..
Aonelyn
05-19-2008, 11:34 AM
thanks cripp!
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.