SetWind
DocsSetWind(speed)Description
Sets the the raw wind speed value. The wind speed will stay persistent until it is reset (see examples).
Parameters
| Name | Type | Description |
|---|---|---|
speed | float | The wind speed (clamped to between 0.0 and 1.0) |
Returns
voidThis native does not return a value.
Examples
Official
-- Stops all and any wind
SetWind(0)
-- Sets the wind to 6 m/s
SetWind(0.5)
-- Allows the game dynamically change the wind again
SetWind(-1)