windDir: Difference between revisions

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


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




Line 18: Line 18:
     [[hint]] "I feel a northern wind";
     [[hint]] "I feel a northern wind";
};</code>
};</code>
|= EXAMPLE1
|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[wind]],[[setWindDir]] |= SEEALSO
| [[wind]],[[setWindDir]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:39, 7 April 2019

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