Arma 3 Scripting

Command in Unit Inventory

addMagazines

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

Description

Adds multiple magazines to the unit. For cargo containers use addMagazineCargoGlobal command.

Note

This command is meant to be used on human units. If used on vehicles, this command is Local Argument Global Effect.

Syntax

unit addMagazines [magazineName, count]

Parameters:

Returns: Nothing

Examples

Example 1

player addMagazines ["30Rnd_65x39_caseless_mag", 3];

See also

addMagazineGlobal · addMagazine · addMagazineCargo · addMagazineCargoGlobal · addMagazinePool · addMagazineTurret · addMagazineAmmoCargo