setWind
- Global effect
- Arma 3 v0.50
- First in Arma 2 v1.00
Command · Markdown · JSON · original wiki page
Description
Set current or permanent wind vector.
Important
The effect is global only if it is executed on the server. Wind set locally will sync back to server value in a while.
Syntax
setWind [x, y, forced]
Parameters:
x: Number - easterly component (in m/s, positive = to the east)y: Number - northerly component (in m/s, positive = to the north)forced: Boolean - (Optional, default false) set to true to lock the wind to constantly blows in set direction
Returns: Nothing
Examples
Example 1
setWind [10, 10, true];
See also
wind · setWindDir · gusts · setGusts