unitName removeMagazines magazineName

Operand types

unitName: Object
magazineName: String

Type of returned value

Description

Remove all magazines of given type from the unit.

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

Used In

OFP/ArmA

Example

player removeMagazines "M16"
Search OFPEC COMREF