getItemCargo box

Operand types

box: Object

Type of returned value

Description

Returns all item names and counts from ammo box (or any general weapon holder container).

Returned array format is [[items],[counts]]

Used In

Arma3

Example

getItemCargo ammobox1;
// returns with NATO Supply Box: [["FirstAidKit","acc_flashlight"],[10,2]]
Search OFPEC COMREF