addBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
Line 12: Line 12:


| 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.
| 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.
{{Informative |
{{Feature | Informative |
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]]

Revision as of 01:02, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Containers

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object
packClassName: String
Return Value:
Return value needed

Examples

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

Additional Information

See also:
See also needed

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