removeMagazine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|R]]
[[Category:Scripting Commands|REMOVEMAGAZINE]]
[[Category:Scripting Commands OFP 1.97|R]]
[[Category:Scripting Commands OFP 1.97|REMOVEMAGAZINE]]
[[Category:Scripting Commands OFP 1.46|R]]
[[Category:Scripting Commands OFP 1.46|REMOVEMAGAZINE]]
[[Category:Scripting Commands ArmA|R]]
[[Category:Scripting Commands ArmA|REMOVEMAGAZINE]]





Revision as of 15:07, 4 May 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"