Arma 3 Scripting

loadMagazine

  • Arma 3 v0.50
  • First in Arma 2: Operation Arrowhead v1.60

Command · also in Turrets · Markdown · JSON · 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