setWind

From Bohemia Interactive Community
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Set current (forced == false) or permanent (forced == true) wind direction and force.
Groups:
Uncategorised

Syntax

Syntax:
setWind [x, z, forced]
Parameters:
[x, z, forced]: Array
x: Number
z: Number
forced: Boolean
Return Value:
Nothing

Examples

Example 1:
setWind [10,10, true];

Additional Information

See also:
wind

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

setWind [10,10, true]= Winddirection South West with a windforce factor of 10 (probably Beaufort scale, compares to 48-55knots).

I have tested the following values:

[10,10, true]; = South West
[10,-10, true]; = North West
[-10,10, true]; = South East
[-10,-10, true]; = North East
[-10,0, true]; = East
[0,-10, true]; = North
[10,0, true]; = West
[0,10, true]; = South

Bottom Section