Warning: file_put_contents(/ff_a267c67d797ef7e5054f2e65af20e05ad1d9cd6fd3adf6f8.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