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

unitName addItem item

Operand types

unitName: Object
item: Item

Type of returned value

Description

Creates new item and tries to add it into inventory. Inventory must have enough space to accomodate new item or command will fail.

Used In

Arma3

Example

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

Advertisement