removeWeapon

From Bohemia Interactive Community
Revision as of 12:50, 20 November 2008 by Ceeeb (talk | contribs) (locality, general tidy up)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Remove weapon from a unit.
Note: It is possible to create invalid combinations with this command (ie, attempting to remove a weapon that a unit does not possess). When doing so, application behaviour is undefined.
Groups:
Uncategorised

Syntax

Syntax:
Unit removeWeapon "weaponName"
Parameters:
weaponName: String
Return Value:
Nothing

Examples

Example 1:
player removeWeapon "M16"

Additional Information

See also:
addWeaponremoveAllWeapons

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section