backpackItems
Jump to navigation
Jump to search
Description
- Description:
- Get array with all items (of any kind, even weapons) in backpack of the given unit.
- Groups:
- Containers
Syntax
- Syntax:
- backpackItems unit
- Parameters:
- unit: Object
- Return Value:
- Array
Examples
- Example 1:
backpackItems player; // returns e.g ["hgun_P07_F", "Titan_AT"]
Additional Information
- See also:
- uniformItems vestItems backpackContainerfirstBackpackunitBackpackbackpackbackpackCargogetBackpackCargoaddBackpackaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack
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