Arma 3 Scripting

queryMagazinePool

  • Arma 3 v0.50
  • First in Operation Flashpoint v1.75

Command · Markdown · JSON · original wiki page

Description

Return number of magazines of type name in magazine pool (used in campaign to transfer magazines into next mission).

Syntax

queryMagazinePool name

Parameters:

Returns: Number

Examples

Example 1

_num = queryMagazinePool "M16";

See also

addMagazineGlobal · addMagazine · addMagazines · addMagazineCargo · addMagazineCargoGlobal · addMagazineTurret · addWeaponPool · clearMagazinePool · addMagazineAmmoCargo