GetIsCurrentWeather

From GECK
Jump to: navigation, search

Link to TES4 Construction Set Wiki: GetIsCurrentWeather.

A function included in the GECK for Fallout 3.

Description

Returns 1 if the current weather is active

Syntax

[help]
(bool) GetIsCurrentWeather weather:ref

Example

GetIsCurrentWeather WastelandClear

Checks if the active weather is WastelandClear and returns 1 if true.


See Also

  • GetCurrentWeather Doesn't require checking explicit weather REF IDS and instead returns the current weather, making it much more versatile