_SET_WEATHER_TYPE_TRANSITION
DocsSetWeatherTypeTransition(weatherType1, weatherType2, percentWeather2)Description
Refer to <code>SET_WEATHER_TYPE_NOW_PERSIST</code> for weather types.
Mixes two weather types. If percentWeather2 is set to 0.0f, then the weather will be entirely of weatherType1, if it is set to 1.0f it will be entirely of weatherType2. If it's set somewhere in between, there will be a mixture of weather behaviors. To test, try this in the RPH console, and change the float to different values between 0 and 1:
execute "NativeFunction.Natives.x578C752848ECFA0C(Game.GetHashKey(""RAIN""), Game.GetHashKey(""SMOG""), 0.50f);Parameters
| Name | Type | Description |
|---|---|---|
weatherType1 | Hash | — |
weatherType2 | Hash | — |
percentWeather2 | float | — |
Returns
voidThis native does not return a value.