GetSkyMode - Weather

From Creation Kit
Jump to: navigation, search

Member of: Weather Script

Gets the mode under which the sky is currently operating.

Syntax

int Function GetSkyMode() native global

Parameters

None.

Return Value

  • 0 - No sky
  • 1 - Interior
  • 2 - Skydome only
  • 3 - Full sky

Examples

if Weather.GetSkyMode() == 1
  Debug.Trace("Current sky is in interior mode!")
endif

See Also

Weather Script