SetWeatherTypeNow
DocsSetWeatherTypeNow(weatherType)Description
Introduced in build 323
Immediately changes the game's weather to the specified type, which will then persist for one cycle before the game resumes its natural weather progression.
Note: This native is not supported in networked sessions. Please refer to <code>SET_OVERRIDE_WEATHER</code> or <code>SET_WEATHER_TYPE_NOW_PERSIST</code> if you want to override weather in networked sessions.
Weather Types:
CLEAR
EXTRASUNNY
CLOUDS
OVERCAST
RAIN
CLEARING
THUNDER
SMOG
FOGGY
XMAS
SNOW
SNOWLIGHT
BLIZZARD
HALLOWEEN
- NEUTRAL
Parameters
| Name | Type | Description |
|---|---|---|
weatherType | char* | The weather type to set. This should be one of the predefined weather type strings. |
Returns
voidThis native does not return a value.