HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Count upwards on timer

11-21-2004, 02:14 AM#1
duckduck
how can i make a timer count upwards?
i hav a trigger

Code:
Events:
Every 1 seconds
Conditions:
Actions:
Set ElapsedTime = Elapsedtime + 1.00
Start Countdown Timer as a one-shot timer that will expire in ElapsedTime
Pause Countdown Timer

and it doesn't work, it just stays at 0.
if i took out
Code:
Pause countdown timer

it would go to ex.
Time Elapsed... 00:00:00
then
Time Elapsed... 00:00:01
then
Time Elapsed... 00:00:00
then
Time Elapsed... 00:00:02
then
Time Elapsed... 00:00:01
then
Time Elapsed... 00:00:03
and so on and so on...
11-21-2004, 04:09 AM#2
Ninja73
You could always use a leaderboard and make it appear to be a timer
11-23-2004, 05:00 AM#3
aots_assasin
only way to do it is with a leaderboard or multiboard. or JASS could probably do it. there is no way to reverse the order on a countdown that i know of.
11-23-2004, 08:39 AM#4
oNdizZ
I tried to add a negative nuber for the countdown timer, but it didnt work :/
11-23-2004, 04:06 PM#5
duckduck
i just thought of this, and im not sure, but would this work?
Code:
Events:
Every 1 seconds
Conditions:
Actions:
Unpause Countdown Timer
Set ElapsedTime = Elapsedtime + 1.00
Start Countdown Timer as a one-shot timer that will expire in ElapsedTime
Pause Countdown Timer
(im @ school so i cant test it)