ForceActive - Weather
Jump to navigation
Jump to search
Member of: Weather Script
Forces the active weather on the sky to be this weather. Weather will become fully transitioned immediately. To have the weather transition in normally, use SetActive instead.
Syntax[edit | edit source]
Function ForceActive(bool abOverride = false) native
Parameters[edit | edit source]
- abOverride: If true, this weather remain active until released using ReleaseOverride.
- Default: False
Return Value[edit | edit source]
None
Examples[edit | edit source]
; Force the good weather to be active
GoodWeather.ForceActive()
; Force the windy weather to be active until released
WindyWeather.ForceActive(true)