GetSunPositionZ - Game

From Creation Kit
Jump to: navigation, search

Member of: Game Script (Requires 1.6)

Gets the Z position of the sun.

Syntax

float Function GetSunPositionZ() native global

Parameters

None.

Return Value

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

Examples

Debug.Trace("The Sun has a z position of: " + GetSunPositionZ())

See Also