KeenSoftwareHouse / SpaceEngineers

2.93k stars 896 forks source link

MySandboxGame.TotalGamePlayTimeInMilliseconds inaccessible for ingame scripts #581

Open M0rt1mer opened 7 years ago

M0rt1mer commented 7 years ago

MyDetectedEntityInfo is always created with a timestamp. However, it is impossible to access "current" timestamp through scripts. Therefore it's impossible to find out how old the record is.

Currently only solution I was able to come up with is to catch a single timestamp and then add elapsed time, thereby "faking" the timer locally.