windDir: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) m (Fix example) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | |game1= arma3 | ||
|0.50 | |version1= 0.50 | ||
| Returns the current wind azimuth. | |descr= Returns the current wind azimuth. | ||
| | |s1= [[windDir]] | ||
| [[Number]] - | |r1= [[Number]] - azimuth | ||
|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"; {{cc|wind going ''from'' South ''to'' North}} | ||
};</code> | };</code> | ||
| | |seealso= [[wind]], [[setWindDir]], [[setWindStr]], [[setWindForce]] | ||
}} | }} | ||
Line 36: | Line 26: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category:Command_Group:_Environment|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Environment|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 19:04, 4 February 2020
Description
- Description:
- Returns the current wind azimuth.
- Groups:
- Uncategorised
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:
- 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