removeWeapon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (add. see also)
Line 1: Line 1:
[[Category:Scripting Commands|REMOVEWEAPON]]
[[Category:Scripting Commands OFP 1.96|REMOVEWEAPON]]
[[Category:Scripting Commands OFP 1.46|REMOVEWEAPON]]
[[Category:Scripting Commands ArmA|REMOVEWEAPON]]
{{Command|= Comments
{{Command|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 26: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[addWeapon]], [[removeAllWeapons]] |= See also


}}
}}
Line 40: Line 35:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|REMOVEWEAPON]]
[[Category:Scripting Commands OFP 1.96|REMOVEWEAPON]]
[[Category:Scripting Commands OFP 1.46|REMOVEWEAPON]]
[[Category:Scripting Commands ArmA|REMOVEWEAPON]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Weapons|{{uc:{{PAGENAME}}}}]]

Revision as of 01:14, 23 January 2008

Hover & click on the images for description

Description

Description:
Remove weapon from the unit.
Note: You may create invalid' combinations with this command. 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

You may create invalid combinations with this function. When doing so, application behaviour is undefined.

Bottom Section