windDir: Difference between revisions
| Lou Montana (talk | contribs) | Lou Montana (talk | contribs)  m (Text replacement - "\{\{cc\|([^} ]*)\}\}" to "// $1") | ||
| Line 13: | Line 13: | ||
| |x1= <code>[[if]] ([[windDir]] < 45 <nowiki>||</nowiki> [[windDir]] > 315) [[then]] { | |x1= <code>[[if]] ([[windDir]] < 45 <nowiki>||</nowiki> [[windDir]] > 315) [[then]] { | ||
| 	[[hint]] "I feel a southern wind";  | 	[[hint]] "I feel a southern wind"; // wind going '''from''' South '''to''' North | ||
| };</code> | };</code> | ||
| |seealso= [[wind]] [[setWindDir]] [[setWindStr]] [[setWindForce]] | |seealso= [[wind]] [[setWindDir]] [[setWindStr]] [[setWindForce]] | ||
| }} | }} | ||
Revision as of 11:26, 12 May 2022
Description
- Description:
- Returns the current wind azimuth.
- Groups:
- Environment
Syntax
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:
- wind setWindDir setWindStr setWindForce
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
 
	