backpacks: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
(Add argument's locality)
Line 5: Line 5:
|branch= dev
|branch= dev


|arg=
|arg= global


|gr1= Unit Inventory
|gr1= Unit Inventory

Revision as of 14:44, 2 February 2023

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.14.

Description

Description:
Returns an array of all backpack names a unit has in its inventory, excluding the one it carries on the back.
Groups:
Unit Inventory

Syntax

Syntax:
backpacks unit
Parameters:
unit: Object
Return Value:
Array

Examples

Example 1:
private _allCarriedBackpackTypes = backpacks player + [backpack player];

Additional Information

See also:
backpack itemsWithMagazines assignedItems items magazines everyBackpack

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