windDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (azimut)
m (return value clarification; simple example to demonstrate range of value)
Line 12: Line 12:
| '''windDir''' |= Syntax  
| '''windDir''' |= Syntax  


| [[Number]] |= RETURNVALUE  
| [[Number]] - Azimuth |= RETURNVALUE  




|x1= <code>
|x1= <code>if ([[windDir]] < 45 <nowiki>||</nowiki> [[windDir]] > 315) then {
</code>|= EXAMPLE1  
    [[hint]] "I feel a northern wind";
};</code>
|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 03:55, 30 November 2014

Hover & click on the images for description

Description

Description:
Returns the current wind azimuth.
Groups:
Uncategorised

Syntax

Syntax:
windDir
Return Value:
Number - Azimuth

Examples

Example 1:
if (windDir < 45 || windDir > 315) then { hint "I feel a northern wind"; };

Additional Information

See also:
windsetWindDir

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