itemCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
Line 9: Line 9:
| Get array with items from ammo box (or any general weapon holder container).
| Get array with items from ammo box (or any general weapon holder container).


| '''itemCargo''' object
|s1=  '''itemCargo''' object


|p1= object: [[Object]] - Vehicle or ammo box
|p1= object: [[Object]] - Vehicle or ammo box

Revision as of 23:13, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Vehicle Inventory

Syntax

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

Examples

Example 1:
hint str itemCargo vestContainer player;

Additional Information

See also:
getItemCargoaddItemCargoaddItemCargoGlobalclearItemCargoclearItemCargoGlobalweaponCargomagazineCargo

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note