Arma 3 Scripting

Command in Unit Inventory

removePrimaryWeaponItem

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

Description

Removes given weapon item, including magazine, from the primaryWeapon.

Syntax

unit removePrimaryWeaponItem item

Parameters:

Returns: Nothing

Examples

Example 1

player removePrimaryWeaponItem "acc_flashlight";

See also

addPrimaryWeaponItem · removeAllPrimaryWeaponItems · removeSecondaryWeaponItem · removeHandgunItem · removeBinocularItem