setWind: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 47: Line 47:
[-10,-10, true]; = North East<br>
[-10,-10, true]; = North East<br>
[-10,0, true];  = East<br>
[-10,0, true];  = East<br>
[0, -10, true]; = North<br>
[0,-10, true];   = North<br>
[10,0, true];    = West<br>
[0,10, true];    = South


<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>

Revision as of 01:24, 5 October 2009

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:
See also needed

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