removeMagazines

From Bohemia Interactive Community
Revision as of 16:09, 19 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


back to COMREF

unit removeMagazines weaponName


Operand types:

unit: Object

weaponName: String

Type of returned value:

Nothing

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.


Example:

player removeMagazines "M16"