itemCargo

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 0.50
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.50

Description

Description:
Get array with items from ammo box (or any general weapon holder container).

Syntax

Syntax:
itemCargo box
Parameters:
box: Object
Return Value:
Array - Format: ["ItemType1","ItemType2","ItemType3"...]

Examples

Example 1:
hint str itemCargo vestContainer player;

Additional Information

Multiplayer:
-
See also:
getItemCargoaddItemCargoaddItemCargoGlobalclearItemCargoclearItemCargoGlobalweaponCargomagazineCargo

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section