Arma 3 Scripting

removeAllAssignedItems

  • Local argument
  • Global effect
  • Arma 3 v0.50

Command · Markdown · JSON · original wiki page

Description

Unassigns and deletes all linked items from inventory. The commands operates on assignedItems array, which does not include goggles or headgear but includes binoculars, which is a weapon.
Use removeGoggles and removeHeadgear for those.

Syntax

Syntax 1

removeAllAssignedItems unit

Parameters:

Returns: Nothing

Syntax 2

since arma3 2.14

removeAllAssignedItems [unit, allItems, includeBinocs]

Parameters:

Returns: Nothing

Examples

Example 1

removeAllAssignedItems player;

See also

assignedItems · linkItem · unlinkItem · assignItem · unassignItem · addItem · removeItem · removeAllContainers