enableReload: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|ENABLERELOAD]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|ENABLERELOAD]]
____________________________________________________________________________________________


| arma |= Game name


<h2 style="color:#000066">'''''object'' enableReload ''enable'''''</h2>
|2.92|= Game version
____________________________________________________________________________________________


| Enable / disable reload right after magazine is empty. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| object '''enableReload''' enable |= Syntax


'''object''': [[Object]]
|p1= object [[Object]] |= Parameter 1
   
'''enable''': [[Boolean]]


'''Type of returned value:'''
|p2= enable [[Boolean]] |= Parameter 2


[[Nothing]]
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_vehicle enableReload false</pre> |= Example 1
____________________________________________________________________________________________


'''Compatibility:'''
|  |= See also


Version 2.92 required.
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Enable / disable reload right after magazine is empty.
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>


'''Example''':
[[Category:Scripting Commands|ENABLERELOAD]]
 
[[Category:Scripting Commands ArmA|ENABLERELOAD]]
_vehicle '''enableReload''' false

Revision as of 11:07, 2 August 2006

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

Description

Description:
Enable / disable reload right after magazine is empty.
Groups:
Uncategorised

Syntax

Syntax:
object enableReload enable
Parameters:
object Object
enable Boolean
Return Value:
Nothing

Examples

Example 1:
_vehicle enableReload false

Additional Information

See also:
See also needed

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