unitName canAddItemToBackpack item

Operand types

unitName: Object
item: String

Type of returned value

Description

Checks if given item can be stored into soldier's backpack.

Item is item's config class.

Used In

Arma3

Example

if (player canAddItemToBackpack "Medikit") then {
hint "You can be the doctor.";
};
Search OFPEC COMREF