itemCargo: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (typo) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| '''itemCargo''' box |= Syntax | | '''itemCargo''' box |= Syntax | ||
|p1= box: [[Object]] |= | |p1= box: [[Object]] |PARAMETER1= | ||
| [[Array]] - Format: ["ItemType1","ItemType2","ItemType3"...] |= | | [[Array]] - Format: ["ItemType1","ItemType2","ItemType3"...] |RETURNVALUE= | ||
|x1= <code>[[hint]] [[str]] [[itemCargo]] [[vestContainer]] [[player]];</code>|= | |x1= <code>[[hint]] [[str]] [[itemCargo]] [[vestContainer]] [[player]];</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[getItemCargo]], [[addItemCargo]], [[addItemCargoGlobal]], [[clearItemCargo]], [[clearItemCargoGlobal]], [[weaponCargo]], [[magazineCargo]] |= | | [[getItemCargo]], [[addItemCargo]], [[addItemCargoGlobal]], [[clearItemCargo]], [[clearItemCargoGlobal]], [[weaponCargo]], [[magazineCargo]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:34, 7 April 2019
Description
- Description:
- Get array with items from ammo box (or any general weapon holder container).
- Groups:
- Uncategorised
Syntax
- Syntax:
- itemCargo box
- Parameters:
- box: Object
- 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