ForceActive - Weather

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.

SyntaxEdit

Function ForceActive(bool abOverride = false) native

ParametersEdit

  • abOverride: If true, this weather remain active until released using ReleaseOverride.
    • Default: False

Return ValueEdit

None

ExamplesEdit

; Force the good weather to be active
GoodWeather.ForceActive()


; Force the windy weather to be active until released
WindyWeather.ForceActive(true)

See AlsoEdit