removeMagazines: Difference between revisions

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

Revision as of 22:01, 1 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"