removeWeapon

From Bohemia Interactive Community
Revision as of 19:40, 15 April 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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"