Difference between revisions of "GetCurrentTime"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Category links)
imported>Elim Garak
Line 4: Line 4:
Returns current game time, in decimal format, e.g. 4:30 am = 4.5, 7:45 pm = 19.75.
Returns current game time, in decimal format, e.g. 4:30 am = 4.5, 7:45 pm = 19.75.
   
   
The same value can be accessed by referring to the [[Special_variables| special global variable]] '''Gamehour'''.


[[Category: Functions]]
[[Category: Functions]]

Revision as of 04:56, 25 December 2007

Syntax:

GetCurrentTime 

Returns current game time, in decimal format, e.g. 4:30 am = 4.5, 7:45 pm = 19.75.

The same value can be accessed by referring to the special global variable Gamehour.