Difference between revisions of "Category:Time Functions"

530 bytes removed ,  19:32, 25 December 2008
this was duplication fo information repeated elsewhere, and the accuracy of gamedayspassed is not what it was cracked up to be.
imported>DragoonWraith
(update on GameDaysPassed)
imported>Quetzilla
(this was duplication fo information repeated elsewhere, and the accuracy of gamedayspassed is not what it was cracked up to be.)
 
Line 1: Line 1:
Several global variables are also available to help deal with time:
See [[Special Variables]] for several global variables are also available to help deal with time.
 
;float '''GameDaysPassed''' : How many days have passed in the current game. This is most useful in tracking the passage of time in scripts. Note that it is a float, which means it keeps track of fractional days in its decimal places - with enough precision to accurately measure seconds! This could be an alternative to [[GetSecondsPassed]].
;short '''GameHour''' : Current hour of the day (0-23)
;short '''GameDay''' : Current day of the month
;short '''GameMonth''' : Current month (1-12)
;short '''GameYear''' : Current year (the game begins in 427)


The following functions are also available:
The following functions are also available:


[[Category: Function Types]]
[[Category: Function Types]]
Anonymous user