|
RobMacAF Apprentice
Joined: 09 Jun 2002 Posts: 186 Location: USA
|
Posted: Sun Jan 05, 2003 8:27 pm
Timer |
Ok, ran into another small problem. I have a status bar called Roundtime that whenever I get roundtime it will set that to the RT. So if the roundtime was 10 then the status bar would read Roundtime: 10
What I want is for it to count down to 0. So after one second it would say Roundtime: 9, etc. I am storing the round time in a variable @RTVar
If anyone can help please do |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sun Jan 05, 2003 11:40 pm |
#ALA "countdown" *1 {#IF (@RTVar > 0) {#ADD RTVar -1} {#T- countdown}}
Add the command #T+ countdown to the trigger that sets the variable.
LightBulb
Senior Member |
|
|
|
|
|