removeMagazine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
mNo edit summary
Line 7: Line 7:


|arg= local|Multiplayer Arguments=
|arg= local|Multiplayer Arguments=
|gr1= Weapons |GROUP1=
|gr2= Unit Inventory |GROUP2=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 13:37, 22 September 2020

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:
WeaponsUnit Inventory

Syntax

Syntax:
unitName removeMagazine magazineName
Parameters:
unitName: Object
magazineName: String - see weapons
Return Value:
Nothing

Examples

Example 1:
player removeMagazine "M16"

Additional Information

See also:
removeMagazinesremoveWeaponremoveMagazinesTurretremoveMagazineTurretsetVehicleAmmo

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