setWind: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
m (Text replacement - "| mp=" to "|mp=") |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma2 | | arma2 | ||
Line 6: | Line 6: | ||
|gr1= Environment | |gr1= Environment | ||
|eff= global | |eff= global | ||
Line 24: | Line 23: | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>'''setWind''' [10, 10, true];</code>|= EXAMPLE | |x1= <code>'''setWind''' [10, 10, true];</code>|= EXAMPLE | ||
Line 30: | Line 28: | ||
| [[wind]], [[setWindDir]], [[gusts]], [[setGusts]] | | [[wind]], [[setWindDir]], [[gusts]], [[setGusts]] | ||
| mp=Execute on server | |mp=Execute on server | ||
}} | }} | ||
Revision as of 13:24, 25 January 2021
Description
- Description:
- Description needed
- Multiplayer:
- Execute on server
- Groups:
- Environment
Syntax
- Syntax:
- Syntax needed
- 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 true: wind constantly blows in set direction, false: wind can change direction (default)
- Return Value:
- Return value needed
Examples
- Example 1:
setWind [10, 10, true];
Additional Information
- See also:
- See also needed
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