addBackpack: Difference between revisions
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''" |= | *[[Arma 3 CfgVehicles EMPTY|Arma 3 backpacks]] - objects starting with "B_", starts with "''B_AssaultPack_khk''" |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| unit '''addBackpack''' packClassName|= | | 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]] |= | | [[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]]|= | | [[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
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 :
- Arma 2 OA backpacks
- Arma 3 backpacks - objects starting with "B_", starts with "B_AssaultPack_khk"
- 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
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.51
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- ArmA 2 OA: New Scripting Commands List
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters