unitName addHeadgear item

Operand types

unitName: Object
item: String

Type of returned value

Description

Creates a headgear item and tries to link it to headgear slot. If slot is occupied with another item, the item in the slot will be replaced.

Used In

Arma3

Example

player addHeadgear "H_HelmetB";
Search OFPEC COMREF