unitName canAdd item

Operand types

unitName: Object
item: String

Type of returned value

Description

Check if given object can be stored in inventory of given unit.

Used In

Arma3

Example

if (player canAdd "B_UavTerminal") then {
hint "You can pick up this";
};
Search OFPEC COMREF