Introduced in

Version:1.50

Description

Description:

Loads the wanted magazine into the turret currently operated weapon.

If the magazine is configured as hotReload=0, it is not loaded immediately, but queued, and waits until the currently loaded round is fired.

Syntax

Syntax:vehicle loadMagazine [turret, magazine, overrideHotReload]
Parameters:
  • vehicle : Object - Vehicle to check.
  • turret: Array - Turret path.
  • magazine: String - Magazine name.
  • overrideHotReload: Boolean - If true, the command switches magazines even if the current the ammunition has hotReload=0 (optional, default: false) (V3.8.1+).
Return Value:Nothing

Examples

Examples:
tank1 loadMagazine [[0], "vbs2_mag_20rnd_Sh_120_HESH_l31", true]

Additional Information

See also: needReload, weaponState, reloadState
Multiplayer: 
Problems: 

Notes