Difference between revisions of "GetCurrentTime"
Jump to navigation
Jump to search
imported>Vswe m (Added Search Terms) |
|||
(3 intermediate revisions by 3 users not shown) | |||
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]] | ||
[[Category:Functions (CS)]] | |||
[[Category: Functions (CS 1.0)]] | |||
[[Category: Time Functions]] | [[Category: Time Functions]] | ||
[[Category: Time Functions (CS 1.0)]] | |||
<!-- Begin Search Terms | |||
get | |||
current | |||
time | |||
End Search Terms --> |
Latest revision as of 08:27, 20 June 2008
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.