removeMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:




<h2 style="color:#000066">''unit '''''removeMagazines ''weaponName'''''</h2>
<h2 style="color:#000066">'''''unit'' removeMagazines ''weaponName'''''</h2>





Revision as of 11:51, 30 June 2006


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"