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 03-26-2008, 08:48 AM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default Little help: any ideas why this won't work?

the followign SHOULD work- yet nothgin is happeneing.

Quote:

#qeynos2



sub EVENT_SPAWN
{

quest::settimer("spar1", 6);

}



sub EVENT_TIMER
{

if ($timer eq "spar1")
{

# Random animations: Kick, Throw, Offhand Attack, Dragon Punch, Round Kick, Rude, Flying Kick, Tiger Claw, Eagle Strike

my $anivar1 = quest::ChooseRandom(1, 5, 6, 7, 11, 30, 45, 46, 47);

quest::doanim($anivar1);
quest::settimer("spar1", 6);

}

}


#END of FILe

also on timers:

do timers automaticly run in circle unless stopped? for exmaple i set my timers to 400, it will count to 400 seconds, run ist sub, and thrn start from 0 again, OR does only work once, and have to be re0started every time it fires off?

also do timer names shared bewten diffirent quest files? can 2 difirent npc have same timer name in their quest files?


thank you =)
Reply With Quote
 

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 04:06 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