backpackCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{RV\|type=command \| arma3 \| *([0-9]\.[0-9]{2}) * \|gr1=(.*) \|(.*) \|(.*) \|p1=(.*) \|(.*) \|x1=(.*) \|seealso=(.*) \}\} " to "{{RV|type=command |game1= arma3 |version1= $1 |gr1=$2 |descr=$3 |s1=$4 |p1=$5 |r1=$6...) |
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
||
Line 18: | Line 18: | ||
|seealso= [[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]] | ||
}} | }} | ||
{{GameCategory|arma3|Scripting Commands}} | {{GameCategory|arma3|Scripting Commands}} |
Revision as of 22:44, 10 June 2021
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:
- 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