setWind: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
mNo edit summary |
||
Line 24: | Line 24: | ||
|p1= [x, y, forced]: [[Array]] | |p1= [x, y, forced]: [[Array]] | ||
|p2= x: [[Number]] Easterly component (in m/s, positive = to the east) | |p2= x: [[Number]] - Easterly component (in m/s, positive = to the east) | ||
|p3= y: [[Number]] Northerly component (in m/s, positive = to the north) | |p3= y: [[Number]] - Northerly component (in m/s, positive = to the north) | ||
|p4= forced: [[Boolean]] - (Optional, default [[false]]) set to [[true]] to lock the wind to constantly blows in set direction | |p4= forced: [[Boolean]] - (Optional, default [[false]]) set to [[true]] to lock the wind to constantly blows in set direction |
Revision as of 12:55, 9 October 2021
Description
- Description:
- Set current or permanent wind vector.
- Groups:
- Environment
Syntax
- Syntax:
- setWind [x, y, forced]
- Parameters:
- [x, y, forced]: Array
- 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
- 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