addBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 87743 by killzone_kid on 2015-02-15T14:39:41Z)
m (template:command argument fix)
Line 11: Line 11:
Classname list of available backpacks :
Classname list of available backpacks :
*[[ArmA 2 OA: Backpacks|Arma 2 OA backpacks]]
*[[ArmA 2 OA: Backpacks|Arma 2 OA backpacks]]
*[[Arma 3 CfgVehicles EMPTY|Arma 3 backpacks]] - objects starting with "B_", starts with "''B_AssaultPack_khk''" |= Description
*[[Arma 3 CfgVehicles EMPTY|Arma 3 backpacks]] - objects starting with "B_", starts with "''B_AssaultPack_khk''" |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit '''addBackpack''' packClassName|= Syntax
| unit '''addBackpack''' packClassName|SYNTAX=


|p1= unit: [[Object]] |= Parameter 1
|p1= unit: [[Object]] |= Parameter 1
|p2= packClassName: [[String]] |= Parameter 2
|p2= packClassName: [[String]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
Line 27: Line 27:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[addBackpackGlobal]], [[backpackContainer]], [[firstBackpack]], [[unitBackpack]], [[backpack]], [[backpackCargo]], [[getBackpackCargo]], [[backpackItems]], [[addBackpackCargo]], [[addBackpackCargoGlobal]], [[removeBackpack]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]], [[clearAllItemsFromBackpack]], [[loadBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]]|= See also
| [[addBackpackGlobal]], [[backpackContainer]], [[firstBackpack]], [[unitBackpack]], [[backpack]], [[backpackCargo]], [[getBackpackCargo]], [[backpackItems]], [[addBackpackCargo]], [[addBackpackCargoGlobal]], [[removeBackpack]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]], [[clearAllItemsFromBackpack]], [[loadBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]]|SEEALSO=


}}
}}

Revision as of 11:24, 7 April 2019

Hover & click on the images for description

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 :
Groups:
Uncategorised

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

See also:
addBackpackGlobalbackpackContainerfirstBackpackunitBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack

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

Notes

Bottom Section