Arma 3 Scripting

removePrimaryWeaponItem

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

Command · Markdown · JSON · 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