reloadEnabled: 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) (Add example) |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 13: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[reloadEnabled]] unitName |SYNTAX= | ||
|p1= unitName: [[Object]] |PARAMETER1= | |p1= unitName: [[Object]] |PARAMETER1= | ||
| [[Boolean]] |RETURNVALUE= | | [[Boolean]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | |||
|x1= <code>[[private]] _canReload = [[reloadEnabled]] _unit1;</code> |EXAMPLE1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[enableReload]], [[reload]], [[needReload]] |SEEALSO= | | [[enableReload]], [[reload]], [[needReload]] |SEEALSO= | ||
}} | }} | ||
Line 33: | Line 31: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands ArmA2|Scripting Commands ArmA2]] | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 20:51, 5 January 2020
Description
- Description:
- Check whether magazine is reloaded whenever emptied.
- Groups:
- Uncategorised
Syntax
- Syntax:
- reloadEnabled unitName
- Parameters:
- unitName: Object
- Return Value:
- Boolean
Examples
- Example 1:
private _canReload = reloadEnabled _unit1;
Additional Information
- See also:
- enableReloadreloadneedReload
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