wind: Difference between revisions

From Bohemia Interactive Community
mNo edit summary
m (Some wiki formatting)
 
Line 18: Line 18:
|gr1= Environment
|gr1= Environment


|descr= Returns the current wind vector (in m/s) as array [x, y, z].<br>
|descr= Returns the current wind vector (in m/s).
{{Feature|informative|The last value (z, "up-down") always returns 0 – wind being only horizontal.}}


|s1= '''wind'''
|s1= [[wind]]


|r1= [[Array]] format [[Vector3D]]
|r1= [[Array]] format [[Vector3D]] as [x, y, 0] - wind being only horizontal


|x1= <sqf>_windArray = wind;</sqf>
|x1= <sqf>_windArray = wind;</sqf>
Line 30: Line 29:
}}
}}


<dl class="command_description">
{{Note
 
|user= Ceeeb
<dt><dt>
|timestamp= 20080810043800
<dd class="notedate">
|text= In '''OFP 1.96''', wind speed and direction are directly related to [[overcast]].
<dt class="note">[[User:Ceeeb|Ceeeb]]</dt>
}}
<dd class="note">In '''OFP 1.96''', wind speed and direction are directly related to [[overcast]].
 
</dl>

Latest revision as of 19:01, 7 September 2025

Hover & click on the images for description

Description

Description:
Returns the current wind vector (in m/s).
Groups:
Environment

Syntax

Syntax:
wind
Return Value:
Array format Vector3D as [x, y, 0] - wind being only horizontal

Examples

Example 1:
_windArray = wind;

Additional Information

See also:
setWind windDir

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
Ceeeb - c
Posted on Aug 10, 2008 - 04:38 (UTC)
In OFP 1.96, wind speed and direction are directly related to overcast.