Arma 3 Scripting

backpacks

  • Global argument
  • Arma 3 v2.14

Command · Markdown · JSON · original wiki page

Description

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

Syntax

backpacks unit

Parameters:

Returns: Array of Strings

Examples

Example 1

private _allCarriedBackpackTypes = backpacks player + [backpack player];

See also

backpack · itemsWithMagazines · assignedItems · items · magazines · everyBackpack