removeAllMagazines

From Bohemia Interactive Community
Revision as of 23:09, 1 April 2025 by Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.20 |arg= local |eff= global |gr1= Unit Inventory |descr= Removes all magazines from the unit. |s1= removeMagazines unit |p1= unit: Object |r1= Nothing |x1= <sqf>removeAllMagazines player;</sqf> |seealso= removeMagazines addMagazine magazines removeMagazine removeWeapon removeMagazinesTurret removeMagazineTurret setVehicleAmmo }}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Hover & click on the images for description

Description

Description:
Removes all magazines from the unit.
Groups:
Unit Inventory

Syntax

Syntax:
removeMagazines unit
Parameters:
unit: Object
Return Value:
Nothing

Examples

Example 1:
Copy
removeAllMagazines player;

Additional Information

See also:
removeMagazines addMagazine magazines removeMagazine removeWeapon removeMagazinesTurret removeMagazineTurret setVehicleAmmo

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