removeMagazine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|R]]
[[Category:Scripting Commands ArmA|R]]


back to [[Scripting_Reference#R|COMREF]]


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

Revision as of 11:04, 23 April 2006


unit removeMagazine weaponName


Operand types:

unit: Object

weaponName: String

Type of returned value:

Nothing

Description:

Remove magazine from the unit.

Note: You may create invalid combinations with this function.

When doing so, application behaviour is undefined.


Example:

player removeMagazine "M16"