backpacks: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.14 |branch= dev |arg= |gr1= Unit Inventory |descr= Returns an array of all backpacks names unit has in inventory, excluding b...")
 
No edit summary
Line 21: Line 21:
|x2= <sqf>player sideChat format ["%1", backpacks player];</sqf>
|x2= <sqf>player sideChat format ["%1", backpacks player];</sqf>


|seealso= [[itemsWithMagazines]] [[assignedItems]] [[secondaryWeaponItems]] [[items]] [[magazines]] [[everyBackpack]]  
|seealso= [[itemsWithMagazines]] [[assignedItems]] [[items]] [[magazines]] [[everyBackpack]]  
}}
}}

Revision as of 23:42, 31 January 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 backpacks names unit has in inventory, excluding backpack unit wears.
Groups:
Unit Inventory

Syntax

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

Examples

Example 1:
_itemsPlayer = backpacks player;
Example 2:
player sideChat format ["%1", backpacks player];

Additional Information

See also:
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