Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:

Controls whether the AI unit reloads their weapon, when the current magazine is empty. The command overrides any setting defined by enableReloadWeak.

Note: To enable reloads, the command has to be issues before a unit empties its current magazine. If the magazine is already empty, the command has no effect. Also, if the weapon autoReload property is set to 1, then the command is ignored (weapons always reload).


Syntax

Syntax:unit enableReload enable
Parameters:
Return Value:Nothing

Examples

Examples:
soldier1 enableReload false

Additional Information

See also: reloadEnabled, enableReloadWeak, disableWeaponControl
Multiplayer: 
Problems: 

Notes