removeWeapon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:




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





Revision as of 11:55, 30 June 2006


unit removeWeapon weaponName


Operand types:

unit: Object

weaponName: String

Type of returned value:

Nothing

Description:

Remove weapon from the unit.

Note: You may create invalid combinations with this function.

When doing so, application behaviour is undefined.


Example:

player removeWeapon "M16"