Difference between revisions of "Category:Time Functions"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
 
imported>JOG
Line 1: Line 1:
Several global variables are also available to help deal with time:  
Several global variables deal with time:  
 
{|border="1" cellpadding="5" cellspacing="0"
|-
! style="background:#efefef;" | Type
! style="background:#efefef;" | Name
! style="background:#efefef;" | Description
|-
|short
|GameYear
|The current year (the game begins in 427)
|-
|short
|GameMonth
|The current month (1-12)
|-
|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.
|-
|}
 


: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)
:GameDay = Current day of the month
:GameMonth = Current month (1-12)
: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]]

Revision as of 15:53, 13 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 (1-12)
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:

Subcategories

This category has only the following subcategory.

Pages in category "Time Functions"

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