backpackItems

From Bohemia Interactive Community
Revision as of 17:43, 3 December 2018 by Erentar (talk | contribs) (Bot: Replacing category Scripting Commands Arma 3 with Arma 3: Scripting Commands)
Jump to navigation Jump to search
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