backpackCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 78479 by Ffur2007slx2 5 on 2014-04-29T08:03:40Z)
m (template:command argument fix)
Line 12: Line 12:
| '''backpackCargo''' box |= Syntax
| '''backpackCargo''' box |= Syntax


|p1= box: [[Object]]  |= PARAMETER1
|p1= box: [[Object]]  |PARAMETER1=  


| [[Array]] - Format: ["BackpackType1","BackpackType1","BackpackType2"...]|= RETURNVALUE
| [[Array]] - Format: ["BackpackType1","BackpackType1","BackpackType2"...]|RETURNVALUE=  




|x1= <code>[[hint]] [[str]] [[backpackCargo]] [[vehicle]] [[player]];</code>|= EXAMPLE1
|x1= <code>[[hint]] [[str]] [[backpackCargo]] [[vehicle]] [[player]];</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[backpackContainer]], [[firstBackpack]], [[unitBackpack]], [[backpack]], [[getBackpackCargo]], [[backpackItems]], [[addBackpack]], [[addBackpackCargo]], [[addBackpackCargoGlobal]], [[removeBackpack]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]], [[clearAllItemsFromBackpack]], [[loadBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]] |= SEEALSO
| [[backpackContainer]], [[firstBackpack]], [[unitBackpack]], [[backpack]], [[getBackpackCargo]], [[backpackItems]], [[addBackpack]], [[addBackpackCargo]], [[addBackpackCargoGlobal]], [[removeBackpack]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]], [[clearAllItemsFromBackpack]], [[loadBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:28, 7 April 2019

Hover & click on the images for description

Description

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

Syntax

Syntax:
backpackCargo box
Parameters:
box: Object
Return Value:
Array - Format: ["BackpackType1","BackpackType1","BackpackType2"...]

Examples

Example 1:
hint str backpackCargo vehicle player;

Additional Information

See also:
backpackContainerfirstBackpackunitBackpackbackpackgetBackpackCargobackpackItemsaddBackpackaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack

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

Notes

Bottom Section