backpackItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 78481 by Ffur2007slx2 5 on 2014-04-29T08:09:31Z)
m (template:command argument fix)
Line 12: Line 12:
| '''backpackItems''' unit |= Syntax
| '''backpackItems''' unit |= Syntax


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


| [[Array]] |= RETURNVALUE
| [[Array]] |RETURNVALUE=  




Line 22: Line 22:
"hgun_P07_F",
"hgun_P07_F",
"Titan_AT"
"Titan_AT"
]</code>|= EXAMPLE1
]</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[uniformItems]], [[vestItems]], [[backpackContainer]], [[firstBackpack]], [[unitBackpack]], [[backpack]], [[backpackCargo]], [[getBackpackCargo]], [[addBackpack]], [[addBackpackCargo]], [[addBackpackCargoGlobal]], [[removeBackpack]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]], [[clearAllItemsFromBackpack]], [[loadBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]] |= SEEALSO
| [[uniformItems]], [[vestItems]], [[backpackContainer]], [[firstBackpack]], [[unitBackpack]], [[backpack]], [[backpackCargo]], [[getBackpackCargo]], [[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 all items (of any kind, even weapons) in backpack of the given unit.
Groups:
Uncategorised

Syntax

Syntax:
backpackItems unit
Parameters:
unit: Object
Return Value:
Array

Examples

Example 1:
backpackItems player;
[ "hgun_P07_F", "Titan_AT" ]

Additional Information

See also:
uniformItemsvestItemsbackpackContainerfirstBackpackunitBackpackbackpackbackpackCargogetBackpackCargoaddBackpackaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack

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