getBackpackCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
Line 13: Line 13:
|p1= object: [[Object]] - object to check
|p1= object: [[Object]] - object to check


| [[Array]] of Arrays - Format <tt>[["5BackpacksType1", "10BackpacksType2"], [5, 10]]</tt>
|r1=[[Array]] of Arrays - Format <tt>[["5BackpacksType1", "10BackpacksType2"], [5, 10]]</tt>


|x1= <code>_content = [[getBackpackCargo]] carName;</code>
|x1= <code>_content = [[getBackpackCargo]] carName;</code>

Revision as of 21:45, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Containers

Syntax

Syntax:
Syntax needed
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