SetWindSpeed
DocsSetWindSpeed(speed)Description
Using this native will clamp the wind speed value to a range of 0.0 - 12.0. The wind speed will stay persistent until it is reset (see examples).
Parameters
| Name | Type | Description |
|---|---|---|
speed | float | wind speed in meters per second |
Returns
voidThis native does not return a value.
Examples
Official
-- Sets the wind speed to 0 meters per second
SetWind(0)
-- Sets the wind to 11.99 m/s
SetWind(11.99)
-- Allows the game dynamically change the wind speed again
SetWind(-1)