removeMagazines: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Scripting Commands]] | [[Category:Scripting Commands|R]] | ||
[[Category:Scripting Commands OFP 1.97]] | [[Category:Scripting Commands OFP 1.97|R]] | ||
[[Category:Scripting Commands OFP 1.46]] | [[Category:Scripting Commands OFP 1.46|R]] | ||
[[Category:Scripting Commands ArmA]] | [[Category:Scripting Commands ArmA|R]] | ||
back to [[Scripting_Reference#R|COMREF]] | back to [[Scripting_Reference#R|COMREF]] |
Revision as of 18:57, 22 April 2006
back to COMREF
unit removeMagazines weaponName
Operand types:
unit: Object
weaponName: String
Type of returned value:
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"