Difference between revisions of "Category:Time Functions"

281 bytes added ,  15:53, 13 June 2006
no edit summary
 
imported>JOG
Several global variables are also available to help deal with time:
 
{|border="1" cellpadding="5" cellspacing="0"
:GameDaysPassed = How many days have passed in the current game. This is most useful in tracking the passage of time in scripts. ▼
|-
:GameHour = Current hour of the day (0-23)
! style="background:#efefef;" | Type
:GameDay = Current day of the month ▼
! style="background:#efefef;" | Name
:GameMonth = Current month (1-12) ▼
! style="background:#efefef;" | Description
:GameYear = Current year (the game begins in 427) ▼
|-
|short
|GameYear
▲:GameYear|The = Currentcurrent year (the game begins in 427)
|-
|short
|GameMonth
▲:GameMonth|The = Currentcurrent month (1-12)
|-
|short
|GameDay
▲:GameDay|The = Currentcurrent 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.
 
▲: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:▼
|-
|}
 
 
 
▲The following functions are also available:
[[Category: Function Types]]
Anonymous user