getBackpackCargo

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2: Operation Arrowhead version 1.55
  

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.55

Description

Description:
Returns all backpack types and count from the cargo space

Syntax

Syntax:
result = 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

Multiplayer:
-
See also:
backpackContainerfirstBackpackunitBackpackbackpackbackpackCargobackpackItemsaddBackpackaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section