removeMagazine: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
back to [[Scripting_Reference#R|COMREF]] | |||
<h2 style="color:#000066">''unit '''removeMagazine ''weaponName'''''</h2> | <h2 style="color:#000066">''unit '''removeMagazine ''weaponName'''''</h2> | ||
'''Operand types:''' | '''Operand types:''' | ||
unit: [[Object]] | '''unit:''' [[Object]] | ||
weaponName: [[String]] | '''weaponName:''' [[String]] | ||
'''Type of returned value:''' | '''Type of returned value:''' | ||
Nothing | [[Nothing]] | ||
'''Description:''' | '''Description:''' | ||
Line 15: | Line 18: | ||
Remove magazine from the unit. | Remove magazine from the unit. | ||
''Note:'' You may create invalid combinations with this function. When doing so, application behaviour is undefined. | '''Note:''' You may create invalid combinations with this function. | ||
When doing so, application behaviour is undefined. | |||
'''Example:''' | '''Example:''' | ||
player '''removeMagazine''' "M16" | [[player]] '''removeMagazine''' "M16" |
Revision as of 23:40, 15 April 2006
back to COMREF
unit removeMagazine weaponName
Operand types:
unit: Object
weaponName: String
Type of returned value:
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"