GetSunPositionX - Game

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script (Requires 1.6)

Gets the X position of the sun.

Syntax[edit | edit source]

float Function GetSunPositionX() native global

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The X position of the sun, or 0.0 if the sun is not up.

Examples[edit | edit source]

Debug.Trace("The Sun has an x position of: " + GetSunPositionX())

See Also[edit | edit source]