Arma 3 Scripting

Command in Weapons, Turrets

loadMagazine

Also available as Markdown and JSON, or read the original wiki page.

Description

Initiates the loading action on given weapon of the turret of a transport. So the new magazine is not available instantly, yet according to the reloadTime.

The turret has to be manned. One can also change the magazine if its respective weapon is not selected.

Syntax

transport loadMagazine [turretPath, weaponName, magazineName]

Parameters:

Returns: Nothing

Examples

Example 1

vehicle player loadMagazine [[0], "m256", "20Rnd_120mmHE_M1A2"];

See also

magazinesTurret · addMagazineTurret · reload · weaponState · setWeaponReloadingTime · weapons · magazines · Arma 3: Actions