Difference between revisions of "Category:Time Functions"
Jump to navigation
Jump to search
imported>JOG |
imported>JOG m |
||
| Line 13: | Line 13: | ||
|short |
|short |
||
|GameMonth |
|GameMonth |
||
|The current month ( |
|The current month (0-11) |
||
|- |
|- |
||
|short |
|short |
||
Revision as of 04:22, 15 June 2006
Several global variables deal with time:
| Type | Name | Description |
|---|---|---|
| short | GameYear | The current year (the game begins in 427) |
| short | GameMonth | The current month (0-11) |
| short | GameDay | The current day of the month |
| float | GameHour | The current hour (0-23 hours) |
| short | TimeScale | Minutes that pass in-game within one minute of real-life |
| short | GameDaysPassed | How many days have passed in the current game.
This is most useful in tracking the passage of time in scripts. |
The following functions are also available:
Pages in category "Time Functions"
The following 4 pages are in this category, out of 4 total.