ClimateAddWeatherType

< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Adds a weather to a climate's weather types, with the specified chance and global variable (optional). If the weather is already in the list, sets its chance and global.

Syntax

(successful:0/1) ClimateAddWeatherType climate:ref weather:ref chance:int{0-100} globalVar:ref

Example

ClimateAddWeatherType WastelandClimate NVHooverDamWeather 50 VNight

See Also