Arma 3 Scripting

Command in Unit Inventory

addHeadgear

Also available as Markdown and JSON, or read the original wiki page.

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.

Syntax

unit addHeadgear item

Parameters:

Returns: Nothing

Examples

Example 1

player addHeadgear "H_HelmetB";

See also

headgear · removeHeadgear