GetSkyMode - Weather

Member of: Weather Script

Gets the mode under which the sky is currently operating.

SyntaxEdit

int Function GetSkyMode() native global

ParametersEdit

None.

Return ValueEdit

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

ExamplesEdit

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

See AlsoEdit

Weather Script