unitName removeWeapon weaponName

Operand types

unitName: Object
weaponName: String

Type of returned value

Description

Remove weapon from the unit.

Note: You may create invalid combinations with this function. When doing so, application behavior is undefined

Used In

OFP/ArmA

Example

player removeWeapon "M16"