Arma 3 Scripting

unlinkItem

  • Global argument
  • Global effect
  • Arma 3 v1.00

Command · Markdown · JSON · original wiki page

Description

Unassign and delete existing item from its assigned slot. Nothing happens if the item does not exist or is not assigned. See also unassignItem.

Syntax

unit unlinkItem item

Parameters:

Returns: Nothing

Examples

Example 1

bluforUnit unlinkItem "NVGoggles";
opforUnit unlinkItem "NVGoggles_OPFOR";
indepUnit unlinkItem "NVGoggles_INDEP";

// or
{ _x unlinkItem hmd _x } forEach [bluforUnit, opforUnit, indepUnit];

See also

linkItem · addItem · assignItem · removeItem · unassignItem · assignedItems · removeAllAssignedItems

Community notes