unitName assignItem item

Operand types

unitName: Object
item: String

Type of returned value

Description

Assigns existing item from inventory (uniform, vest, backpack) to a correct slot. If the slot is occupied by another item, it gets replaced.

Used In

Arma3

Example

loon1 addItem "NVGoggles"; loon1 assignItem "NVGoggles";

Advertisement