Creating a timer

Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.

How do I…

Hi all. I have created timers before and displayed them on the screen, but when I try to do it now I get red text and it doesn’t work. Ive looked at tutorials and it seems that these are old and I’m doing it wrong. I’ve even copied text from example templates and still not working. I’ve created the text object and the variable, but am getting the update and display syntax wrong!

Please could some provide me with the simple text or a demo file of what I need as I have been trying to sort it out for over a day now!

What is the expected result

Simply, I have a car game. I wand the car to go over the start line and a timer starts then it goes over the finish line and the time stops. I want the timer to display on the screen with something like “Time: 00:00” at the start and 00:00 being updated each frame until the car crosses the finish line.

What is the actual result

As stated I’m getting red text and this is from using tutorials, videos etc

Can you post a screenshot of what you’ve done?

I would have, but have deleted it. I did take a screenshot of what I was copying from though!

It looks like that’s using an extension…have you installed it? Time formatter?
I haven’t used that one

there’s an extension ‘time formatting’
or you could use ToString(trunc(TimerElapsedTime(“time”)/60))+"; "+ToString(trunc(mod(TimerElapsedTime(“time”),60))) - but its probably better with the extension!

Thank you pet limpet. I didn’t see in the example that there was this extension. Thank you for putting me out of my misery!