WEATHER_* Constant Group

From NWN Lexicon
(Redirected from Weather constants)
Jump to navigationJump to search

Constants that define the standard weather types. This matches lines in weathertypes.2da

Constants

Constant Value Description
WEATHER_CLEAR 0 No weather, a clear day. No effects loaded. Stops lightning.
WEATHER_INVALID -1 Weather return type if GetWeather returns an invalid value.
WEATHER_RAIN 1 Light rain. Optionally has lightning if the area properties % lightning chance is met.
WEATHER_SNOW 2 Light snow. Optionally has lightning if the area properties % lightning chance is met.
WEATHER_USE_AREA_SETTINGS -1 Used in SetWeather to reset the area to default weather values.

See Also

functions: GetWeather SetWeather