wind: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (semicolon for example)
No edit summary
Line 39: Line 39:
[[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}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on March 26, 2018 - 00:20 (UTC)</dd>
<dt class="note">[[User:feint|feint]]</dt>
<dd class="note">
The return is always two numbers followed by a 0 (i.e. [1.3,2.5,0]). So I'm going to take a guess that the above "[x,z,y]" is incorrect and should instead be [x,y,z].
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 01:20, 26 March 2018

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Returns the current wind vector (in m/s) as array [x, z, y].
Groups:
Uncategorised

Syntax

Syntax:
wind
Return Value:
Array

Examples

Example 1:
_windarray = wind;

Additional Information

See also:
setWindwindDir

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

Notes

Ceeeb
In OFP 1.96, wind speed and direction are directly related to overcast.

Bottom Section

Posted on March 26, 2018 - 00:20 (UTC)
feint
The return is always two numbers followed by a 0 (i.e. [1.3,2.5,0]). So I'm going to take a guess that the above "[x,z,y]" is incorrect and should instead be [x,y,z].