reloadEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
(Add example)
Line 1: Line 1:
[[Category:Scripting Commands|RELOADENABLED]]
[[Category:Scripting Commands ArmA|RELOADENABLED]]
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 13: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''reloadEnabled''' unitName|SYNTAX=
| [[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 ArmA2|{{uc:{{PAGENAME}}}}]]
[[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

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

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

Notes

Bottom Section