GetSkyMode - Weather
Jump to navigation
Jump to search
Member of: Weather Script
Gets the mode under which the sky is currently operating.
Syntax[edit | edit source]
int Function GetSkyMode() native global
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
- 0 - No sky
- 1 - Interior
- 2 - Skydome only
- 3 - Full sky
Examples[edit | edit source]
if Weather.GetSkyMode() == 1
Debug.Trace("Current sky is in interior mode!")
endif