Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Draemoore
Newbie


Joined: 08 Aug 2006
Posts: 1

PostPosted: Tue Aug 08, 2006 3:47 pm   

Timer (Using fractions of seconds)
 
Sorry if this has already been asked/answered - I searched the forums some and checked the FAQ, etc. and didn't see it.

First, I'm using Zmud version 7.21.

Is there a way to have a countdown timer that I can trigger actions off of that will work using fractions of seconds? The mud I play uses "Rounds" that are somewhat variable depending on what race you play but are generally in the range of 2.8-3.2 seconds or so. I want to be able to track these rounds (A simply example of this would be to just display a message every 2.8 seconds) Is there a way to do this? I've looked into the #alarm command, but it doesn't seem to work with anything less than whole seconds.

Any help would be appreciated

Thank you
Reply with quote
saet
Apprentice


Joined: 12 Jun 2006
Posts: 106

PostPosted: Tue Aug 08, 2006 4:24 pm   
 
Ok I posted a different trigger first, but that one just sucked. Try this

#TRIGGER "tRoundDisplay" {RoundDisplay} {} "" {manual}
#COND {} {#SHOW Round;#SET tRoundDisplay 0} {wait|param=2800}
Reply with quote
chris-74269
Magician


Joined: 23 Nov 2004
Posts: 364

PostPosted: Wed Aug 09, 2006 1:58 am   
 
alarms work with fractions of a second, i have many that use #alarm +.01(+ makes it temp), so just have a #alarm 2.8 {#show round, or whatever} and every 2.8 seconds it will fire
Reply with quote
saet
Apprentice


Joined: 12 Jun 2006
Posts: 106

PostPosted: Wed Aug 09, 2006 4:00 am   
 
Hmm that's odd I could never get a .5 alarm to work. I did just try 2.8 and it worked fine.

edit: well a +.5 works but not a permanent one.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net