HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Timer

06-10-2004, 07:13 PM#1
typon
Is there somehow to make a timer?
I haven't seen a trigger making that.
Like show how long it took you to finnish the race.
06-10-2004, 07:37 PM#2
PatruX
What you are searching for is "Countdown Timer".
06-11-2004, 08:19 AM#3
typon
Quote:
Originally Posted by PatruX
What you are searching for is "Countdown Timer".
Is it? Couse i thought it only counted downwards. Is it a way to make it count upwards?
06-11-2004, 06:21 PM#4
PatruX
Quote:
Originally Posted by typon
Is it? Couse i thought it only counted downwards. Is it a way to make it count upwards?
I doubt it.
06-12-2004, 04:41 AM#5
Doomsberg
What u really want to do is this -

Create a multiboard
Make a trigger that increases (integer variable goes here) by every 1 second.
e.g.
Event - every 1 second of game
Action - Set (integer variable) to (integer variable + 1)

The make the mutilboard display that integer variable. So then every 1 second, the no. on the multibaord will incresae by one.

Thats just the basics...maybe u wanna make time be counted every like .1 of a second or what ever.

Enjoy...and hope u understand.
06-13-2004, 09:53 AM#6
typon
yeah, I thought of that too. But then i can only count like seconds. Or make a very unusual clock. I guess that if that's the best way i have to use it.
06-13-2004, 11:52 AM#7
PatruX
No, you can make it to minutes.

'Race Time in Seconds' / 60 = minutes

So basicly, when a unit enters goal you stop his timer and divide it by 60, then you get it to minutes though it will look like 2,5 etc. "2 minutes and 30 seconds" but with Substrings you can make it just as you want it to be displayed.