Grey is normal. The color is different because one is a number type and the other is a string type.
What matters is that when you edit it, it shows blue and not red.
If this is just about the event color, I feel very foolish now. I was reading this entire thread as “The text isn’t changing from these events” not “the color of this event is different”.
Jimmy, chime in if these events are working or not.
Wait, looking back through these events I’m confused. Where is your timer being set up?
To be clear, changing a variable with “Add 1” isn’t a timer, that’s just constantly adding 1 to a variable, and can be variable based off the framerate the game is running at.
Are you actually using a timer somewhere?
Edit: Also, I’ve tested every method I can think of with Variables to TextObjects. They all work
Thank you, it works.
I needed this code: ToString(TimerElapsedTime(“level1timer”))
I added ‘round’: ToString(round(TimerElapsedTime(“level1timer”))) to get it to a single digit when displayed, but when written to the GV, it has 16 extra digits!
Do you know how to display and write it as 0:00 not 0:0000000000000000?
Thanks again
Jim
You are an absolute star!
it worked
"Time: " + ToString(trunc(TimerElapsedTime(“level1timer”)*100)/100)
The only thing I did differently, was to type it not copy paste?
Anyway, thanks again bud!
Jim