removeMagazineGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 11: Line 11:
|gr1= Unit Inventory
|gr1= Unit Inventory


| Removes the magazine from the unit.
|descr= Removes the magazine from the unit.


|s1=  unit '''removeMagazineGlobal''' magazineName
|s1=  unit '''removeMagazineGlobal''' magazineName

Revision as of 21:14, 13 June 2021

Hover & click on the images for description

Description

Description:
Removes the magazine from the unit.
Groups:
Unit Inventory

Syntax

Syntax:
unit removeMagazineGlobal magazineName
Parameters:
unit: Object
magazineName: String
Return Value:
Nothing

Examples

Example 1:
player removeMagazineGlobal "30Rnd_65x39_caseless_mag";

Additional Information

See also:
removeMagazineremoveMagazines

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