setWind: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +(\[[a-zA-Z0-9_, ]+\]);?<\/code>" to "<sqf>$1 $2;</sqf>") |
||
Line 30: | Line 30: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>setWind [10, 10, true];</sqf> | ||
|seealso= [[wind]] [[setWindDir]] [[gusts]] [[setGusts]] | |seealso= [[wind]] [[setWindDir]] [[gusts]] [[setGusts]] | ||
}} | }} |
Revision as of 13:20, 5 May 2022
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