Warning: file_put_contents(/ff_86322220437cb19a07a9459152e16ee7d28508d7efe6d7f0.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
assignItem - OFPEC Scripting Command Reference | OFPEC The Editing Center

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