Arma 3 Scripting

Command in Unit Inventory

removeAllPrimaryWeaponItems

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

Description

Removes all items from primaryWeapon, except magazine.

Syntax

removeAllPrimaryWeaponItems unit

Parameters:

Returns: Nothing

Examples

Example 1

removeAllPrimaryWeaponItems player;

See also

addPrimaryWeaponItem · removePrimaryWeaponItem · removeAllSecondaryWeaponItems · removeAllHandgunItems · removeAllBinocularItems