getBackpackCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "<tt>([^= ]+)<\/tt>" to "{{hl|$1}}") |
||
Line 18: | Line 18: | ||
|p1= object: [[Object]] - object to check | |p1= object: [[Object]] - object to check | ||
|r1= [[Array]] of Arrays - Format | |r1= [[Array]] of Arrays - Format {{hl|[["5BackpacksType1", "10BackpacksType2"], [5, 10]]}} | ||
|x1= <code>_content = [[getBackpackCargo]] carName;</code> | |x1= <code>_content = [[getBackpackCargo]] carName;</code> |
Revision as of 00:15, 16 November 2021
Description
- Description:
- Returns all backpack types and count from the cargo space.
- Groups:
- Containers
Syntax
- Syntax:
- getBackpackCargo object
- Parameters:
- object: Object - object to check
- Return Value:
- Array of Arrays - Format [["5BackpacksType1", "10BackpacksType2"], [5, 10]]
Examples
- Example 1:
_content = getBackpackCargo carName;
- Example 2:
_content = getBackpackCargo ammoBoxName;
Additional Information
- See also:
- backpackContainerfirstBackpackunitBackpackbackpackbackpackCargobackpackItemsaddBackpackaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack
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