Category:Time Functions
Revision as of 12:56, 25 December 2008 by imported>DragoonWraith (update on GameDaysPassed)
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:
Pages in category "Time Functions"
The following 2 pages are in this category, out of 2 total.