windDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Missed an 'if')
mNo edit summary
Line 4: Line 4:


|version1= 0.50
|version1= 0.50
|gr1= Environment |GROUP1=


|descr= Returns the current wind azimuth.
|descr= Returns the current wind azimuth.
Line 26: Line 28:


<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Command_Group:_Environment|{{uc:{{PAGENAME}}}}]]

Revision as of 01:41, 20 September 2020

Hover & click on the images for description

Description

Description:
Returns the current wind azimuth.
Groups:
Environment

Syntax

Syntax:
windDir
Return Value:
Number - azimuth

Examples

Example 1:
if (windDir < 45 || windDir > 315) then { hint "I feel a southern wind"; // wind going from South to North };

Additional Information

See also:
windsetWindDirsetWindStrsetWindForce

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

Bottom Section