GetCurrentGameTime - How does it work?

Post » Wed Apr 01, 2015 9:06 pm

How exactly does http://www.creationkit.com/GetCurrentGameTime_-_Utilitywork? It's always been a little confusing to me.

For clarification, what might the values of it be for say:

3rd day in the game

17 hours into the first day

2nd day, 3 hours in

Thanks for anyone who can clarify. The CK wiki page isn't super explanatory/doesn't expand upon it much.

User avatar
Peter P Canning
 
Posts: 3531
Joined: Tue May 22, 2007 2:44 am

Post » Wed Apr 01, 2015 7:46 pm

It just gives you the value of the GameDaysPassed global variable without the need to use a property to access it.

The format is simply the amount of timed passed with days being the integer part and hours, minutes, seconds, etc. stored as a fraction of a day.

So 5.9284 is 5 days and 22.2816 hours (.9284*24) or if you expand it out more 5 days, 22 hours, 16 minutes, and 53.76 seconds.

User avatar
Kevin Jay
 
Posts: 3431
Joined: Sun Apr 29, 2007 4:29 am

Post » Wed Apr 01, 2015 2:23 pm

-NVM-

User avatar
Dalley hussain
 
Posts: 3480
Joined: Sun Jun 18, 2006 2:45 am

Post » Thu Apr 02, 2015 1:24 am


Thank you. :)
User avatar
SEXY QUEEN
 
Posts: 3417
Joined: Mon Aug 13, 2007 7:54 pm


Return to V - Skyrim