|
Draemoore Newbie
Joined: 08 Aug 2006 Posts: 1
|
Posted: 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 |
|
|
|
saet Apprentice
Joined: 12 Jun 2006 Posts: 106
|
Posted: 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} |
|
|
|
chris-74269 Magician
Joined: 23 Nov 2004 Posts: 364
|
Posted: 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
|
|
|
|
saet Apprentice
Joined: 12 Jun 2006 Posts: 106
|
Posted: 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. |
|
|
|
|
|