removeMagazine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (moved command to template)
Line 4: Line 4:
[[Category:Scripting Commands ArmA|REMOVEMAGAZINE]]
[[Category:Scripting Commands ArmA|REMOVEMAGAZINE]]


{{Command|= Comments
____________________________________________________________________________________________


<h2 style="color:#000066">'''''unit'' removeMagazine ''weaponName'''''</h2>
| ofp |= Game name


|1.00|= Game version
____________________________________________________________________________________________


'''Operand types:'''
| Remove magazine from the unit. Note: You may create invalid combinations with this function. When doing so, application behaviour is undefined. |= Description
____________________________________________________________________________________________


'''unit:''' [[Object]]
| unit '''removeMagazine''' weaponName |= Syntax


'''weaponName:''' [[String]]
|p1= unit: [[Object]] |= Parameter 1


'''Type of returned value:'''
|p2= weaponName: [[String]] |= Parameter 2


[[Nothing]]
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>[[player]] removeMagazine "M16"</pre> |= Example 1
____________________________________________________________________________________________


'''Description:'''
|  |= See also


Remove magazine from the unit.
}}


'''Note:''' You may create invalid combinations with this function.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


When doing so, application behaviour is undefined.
<!-- Note Section END -->
</dl>


 
<h3 style="display:none">Bottom Section</h3>
'''Example:'''
 
[[player]] '''removeMagazine''' "M16"

Revision as of 02:27, 3 August 2006


Hover & click on the images for description

Description

Description:
Remove magazine from the unit. Note: You may create invalid combinations with this function. When doing so, application behaviour is undefined.
Groups:
Uncategorised

Syntax

Syntax:
unit removeMagazine weaponName
Parameters:
unit: Object
weaponName: String
Return Value:
Nothing

Examples

Example 1:
[[player]] removeMagazine "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

Bottom Section