Ingame API for current timestamp
Submitted
I have been working on a targeting/navigation script for some time, with the intention of making it work on vanilla game. Most of my work revolves around MyDetectedEntityInfo, which usually contains a timestamp, when the entity was detected. However, there is no way of retrieving current timestamp, so I have to resort to guessing from passing of time and incoming timestamps.
Basically what I am asking for is an accessor for MySandboxGame.TotalGamePlayTimeInMilliseconds
i can't believe we added timestamp in MyDetectedEntityInfo structure without giving us a way to access at current timestamp
i can't believe we added timestamp in MyDetectedEntityInfo structure without giving us a way to access at current timestamp
Replies have been locked on this page!