Difference between revisions of "Category:Time Functions"

From GECK

(update on GameDaysPassed)
(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]]

Latest revision as of 19:32, 25 December 2008

See Special Variables for several global variables are also available to help deal with time.

The following functions are also available:

Pages in category "Time Functions"

The following 2 pages are in this category, out of 2 total.

Personal tools