needReload: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Waffle SS. (talk | contribs) No edit summary |
||
Line 16: | Line 16: | ||
| [[Number]] |= Return value | | [[Number]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1=< | |x1=<code>_seriousness = '''needReload''' _vehicle;</code> | ||
|x2=<code>[[if]] ([[needReload]] [[player]] == 1) [[then]] {'''reload''' [[player]]};</code> | |||
| | | [[reload]], [[reloadEnabled]] |= See also | ||
}} | }} |
Revision as of 22:09, 11 April 2014
Description
- Description:
- Return how much vehicle wants to reload its weapons.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_seriousness = needReload _vehicle;
- Example 2:
if (needReload player == 1) then {reload player};
Additional Information
- See also:
- reloadreloadEnabled
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