removeWeapon: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (moved command to template) |
||
Line 4: | Line 4: | ||
[[Category:Scripting Commands ArmA|REMOVEWEAPON]] | [[Category:Scripting Commands ArmA|REMOVEWEAPON]] | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Remove weapon from the unit. Note: You may create invalid combinations with this function. When doing so, application behaviour is undefined. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | unit '''removeWeapon''' weaponName |= Syntax | ||
|p1= unit: [[Object]] |= Parameter 1 | |||
|p2= weaponName: [[String]] |= Parameter 2 | |||
[[Nothing]] | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | |||
|x1= <pre>[[player]] removeWeapon "M16"</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
You may create invalid combinations with this function. | |||
When doing so, application behaviour is undefined. | When doing so, application behaviour is undefined. | ||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
Revision as of 02:29, 3 August 2006
Description
- Description:
- Remove weapon from the unit. Note: You may create invalid combinations with this function. When doing so, application behaviour is undefined.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit removeWeapon weaponName
- Parameters:
- unit: Object
- weaponName: String
- Return Value:
- Nothing
Examples
- Example 1:
[[player]] removeWeapon "M16"
Additional Information
- See also:
- See also needed
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.