Time display
by Matt Huston · in Torque Game Engine · 04/24/2005 (6:28 am) · 3 replies
I believe this is already in the game or in a resource. What I need is for the ChatHud to have time with its commands. So when you start the game, for instance it would say.
[00:00:00] Welcome to Torque Demo App FreshMeat
[00:00:32] Freshmeat was nailed by Player
Just not sure where to find the time keeping variable in script.
[00:00:00] Welcome to Torque Demo App FreshMeat
[00:00:32] Freshmeat was nailed by Player
Just not sure where to find the time keeping variable in script.
About the author
www.atomicbanzai.com
#2
05/07/2005 (11:23 am)
Just to throw a monkey wrench in, I18N would be nice for proper date/time support, esp. in log files. One should be able to get UTC, the local time zone, the platform DST selection, and the locale's date and time format (or ISO 8601).
#3
getSimTime returns the number of milliseconds since the simulation started. I'm not sure that duration is something that is meaningful to localize. (Could be wrong!)
05/07/2005 (10:51 pm)
Er... What?getSimTime returns the number of milliseconds since the simulation started. I'm not sure that duration is something that is meaningful to localize. (Could be wrong!)
Associate Kyle Carter