wind: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Fix [x,z,y] → [x,y,z] and remove feint's comment) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns the current wind vector (in m/s) as array [x, z, | | Returns the current wind vector (in m/s) as array [x, y, z].<br> | ||
'''NOTE:''' the last value (z, "up-down") always returns 0 – wind being only horizontal. |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 15: | Line 16: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code> | |x1= <code>_windArray = '''wind''';</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 27: | Line 28: | ||
<dd class="notedate"> | <dd class="notedate"> | ||
<dt class="note"> | <dt class="note">[[User:Ceeeb|Ceeeb]] | ||
<dd class="note">In '''OFP 1.96''', wind speed and direction are directly related to [[overcast]]. | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
Line 39: | Line 41: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 14:14, 26 March 2018
Description
- Description:
- Returns the current wind vector (in m/s) as array [x, y, z].
NOTE: the last value (z, "up-down") always returns 0 – wind being only horizontal. - Groups:
- Uncategorised
Syntax
- Syntax:
- wind
- Return Value:
- Array
Examples
- Example 1:
_windArray = wind;
Additional Information
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