setWind

From Bohemia Interactive Community
Revision as of 00:42, 14 June 2013 by Ceeeb (talk | contribs) (sets wind vector in m/s, removed misleading note)
Jump to navigation Jump to search
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:
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

Bottom Section