Warning: file_put_contents(/ff_f5d32caa9977b7446131e4c4ca08b6fbe568f1161e2ee20b.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
getItemCargo - OFPEC Scripting Command Reference | OFPEC The Editing Center

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]]

Advertisement