removeMagazine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "")
m (Text replacement - "\{\{( *)Warning( *)\|" to "{{$1Feature$2|$Warning$2|")
Line 9: Line 9:
|gr1= Unit Inventory
|gr1= Unit Inventory


| Remove magazine from the unit.{{Warning|You may create invalid combinations with this function. When doing so, application behaviour is undefined.}}
| Remove magazine from the unit.{{Feature|$Warning|You may create invalid combinations with this function. When doing so, application behaviour is undefined.}}


| unitName '''removeMagazine''' magazineName
| unitName '''removeMagazine''' magazineName

Revision as of 00:20, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Unit Inventory

Syntax

Syntax:
Syntax needed
Parameters:
unitName: Object
magazineName: String - see weapons
Return Value:
Return value needed

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