addBackpack

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2: Operation Arrowhead version 1.51
  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.51

Description

Description:
Adds a backpack for a unit. If a unit already has a backpack, the old backpack will be placed on the ground under the unit. Classname list of available backpacks :

Syntax

Syntax:
unit addBackpack packClassName
Parameters:
unit: Object
packClassName: String
Return Value:
Nothing

Examples

Example 1:
this addBackpack "TK_RPG_Backpack_EP1";
Example 2:
_mySoldierDude addBackpack "US_Patrol_Pack_EP1";

Additional Information

Multiplayer:
-
See also:
addBackpackGlobalbackpackContainerfirstBackpackunitBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack

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