setWind: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(sets wind vector in m/s, removed misleading note)
No edit summary
Line 5: Line 5:


|1.00|= Game version
|1.00|= Game version
|eff= global |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 23: Line 24:




|x1= <code>setWind [10, 10, true];</code>|= EXAMPLE
|x1= <code>'''setWind''' [10, 10, true];</code>|= EXAMPLE
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[wind]] |= SEEALSO  
| [[wind]], [[setWindDir]], [[gusts]], [[setGusts]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 20:48, 12 April 2014

Hover & click on the images for description

Description

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

Syntax

Syntax:
setWind [x, z, forced]
Parameters:
[x, z, forced]: Array
x: Number Easterly component (in m/s, positive = to the east)
z: Number Northerly component (in m/s, positive = to the north)
forced: Boolean
Return Value:
Nothing

Examples

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

Additional Information

See also:
windsetWindDirgustssetGusts

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

Bottom Section