unitBackpack

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

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.51

Description

Description:
Returns unit's backpack

Syntax

Syntax:
unitBackpack unit
Parameters:
unit: Object
Return Value:
Object

Examples

Example 1:
myBackpack = unitBackpack player
Example 2:
clearMagazineCargo unitBackpack player
Example 3:
player action ["gear", unitBackpack player]

Additional Information

Multiplayer:
-
See also:
backpackContainerfirstBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack

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

Posted on Apr 29, 2014 - 15:49
ffur2007slx2_5
In ArmA3 ver 1.16, we can use either backpackContainer or unitBackpack at present since both of them enjoy same operand type and return value.

Bottom Section