Arma 3 Scripting

Command in Unit Inventory

linkItem

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

Description

Create and assign item to the correct slot. If there is an item in the targeted slot, it gets replaced. See also assignItem.

Syntax

unit linkItem item

Parameters:

Returns: Nothing

Examples

Example 1

bluforUnit linkItem "NVGoggles";
opforUnit linkItem "NVGoggles_OPFOR";
independentUnit linkItem "NVGoggles_INDEP";

See also

unlinkItem · addItem · assignItem · removeItem · unassignItem · assignedItems · removeAllAssignedItems