enableReload: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma1 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 18: Line 18:
|gr1= Weapons
|gr1= Weapons


| Enable / disable reload when magazine is empty.
|descr= Enable / disable reload when magazine is empty.


|s1=  object '''enableReload''' enable
|s1=  object '''enableReload''' enable

Revision as of 21:04, 13 June 2021

Hover & click on the images for description

Description

Description:
Enable / disable reload when magazine is empty.
Groups:
Weapons

Syntax

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

Examples

Example 1:
_vehicle enableReload false;

Additional Information

See also:
reloadEnabledreloadneedReload

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