Other great resources: Official JS API docs, Scripting Forum
setWeather()
Sets the weather effect applied to the whole map.
Syntax
setWeather(weather);Parameters
Parameter | Type | Mandatory | Notes | Warzone Version |
|---|---|---|---|---|
weather | Constant | Defines the type of weather to apply: | 3.2 |
Return value
Unknown at present.
Example
// make it rain
setWeather(WEATHER_RAIN);