setWind: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *E([a-z])" to "$1 - e$2") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *N([a-z ])" to "$1 - n$2") |
||
Line 24: | Line 24: | ||
|p1= x: [[Number]] - easterly component (in m/s, positive = to the east) | |p1= x: [[Number]] - easterly component (in m/s, positive = to the east) | ||
|p2= y: [[Number]] - | |p2= 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 |
Latest revision as of 15:39, 8 November 2023
Description
- Description:
- Set current or permanent wind vector.
- Groups:
- Environment
Syntax
- Syntax:
- setWind [x, y, forced]
- Parameters:
- 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:
Additional Information
- See also:
- wind setWindDir gusts setGusts
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