backpackCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[backpackCargo]] box |SYNTAX= | ||
|p1= box: [[Object]] |PARAMETER1= | |p1= box: [[Object]] |PARAMETER1= | ||
| [[Array]] - Format: ["BackpackType1","BackpackType1","BackpackType2"...]|RETURNVALUE= | | [[Array]] - Format: ["BackpackType1", "BackpackType1", "BackpackType2", ...] |RETURNVALUE= | ||
|x1= <code>[[hint]] [[str]] [[backpackCargo]] [[vehicle]] [[player]];</code>|EXAMPLE1= | |x1= <code>[[hint]] [[str]] [[backpackCargo]] [[vehicle]] [[player]];</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[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]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Line 35: | Line 32: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command Group: Containers|{{uc:{{PAGENAME}}}}]] |
Revision as of 19:16, 25 November 2019
Description
- Description:
- Get array with backpacks from ammo box (or any general weapon holder container).
- Groups:
- Uncategorised
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