CBA_fnc_uniqueUnitItems

Description

Retrieves a unique list of items in the units inventory.

Parameters

_unitUnit to retrieve the items from
_weaponItemsInclude weapons, attachments, loaded magazines (Default: false)
_backpackInclude items in backpack (Default: true)
_vestInclude items in vest (Default: true)
_uniformInclude items in uniform (Default: true)
_assignedItemsInclude assigned items (Default: true)
_magazinesInclude not loaded magazines (Default: false)

Example

_allItems = [player, true, false] call CBA_fnc_uniqueUnitItems

Returns

Array of item classnames ARRAY

Author

Dedmen, commy2

Array to read from [Array]
Close