backpackCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 16: | Line 16: | ||
|x1= <code>[[hint]] [[str]] [[backpackCargo]] [[vehicle]] [[player]];</code> | |x1= <code>[[hint]] [[str]] [[backpackCargo]] [[vehicle]] [[player]];</code> | ||
|seealso= [[backpackContainer]] [[firstBackpack]] [[unitBackpack]] [[backpack]] [[getBackpackCargo]] [[backpackItems]] [[addBackpack]] [[addBackpackCargo]] [[addBackpackCargoGlobal]] [[removeBackpack]] [[clearBackpackCargo]] [[clearBackpackCargoGlobal]] | |seealso= [[backpackContainer]] [[firstBackpack]] [[unitBackpack]] [[backpack]] [[getBackpackCargo]] [[backpackItems]] [[addBackpack]] [[addBackpackCargo]] [[addBackpackCargoGlobal]] [[removeBackpack]] [[clearBackpackCargo]] [[clearBackpackCargoGlobal]] [[clearAllItemsFromBackpack]], [[loadBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]] | ||
}} | }} |
Revision as of 15:56, 20 January 2022
Description
- Description:
- Get array with backpacks from ammo box (or any general weapon holder container).
- Groups:
- Containers
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:
- backpackContainer firstBackpack unitBackpack backpack getBackpackCargo backpackItems addBackpack addBackpackCargo addBackpackCargoGlobal removeBackpack clearBackpackCargo clearBackpackCargoGlobal clearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack
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