removeAllMagazines: Difference between revisions

From Bohemia Interactive Community
(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 }}")
 
No edit summary
Line 19: Line 19:
|x1= <sqf>removeAllMagazines player;</sqf>
|x1= <sqf>removeAllMagazines player;</sqf>


|seealso= [[removeMagazines]] [[addMagazine]] [[magazines]] [[removeMagazine]] [[removeWeapon]] [[removeMagazinesTurret]] [[removeMagazineTurret]] [[setVehicleAmmo]]
|seealso= [[removeMagazines]] [[addMagazine]] [[magazines]] [[removeMagazine]] [[removeWeapon]] [[removeMagazinesTurret]] [[removeAllMagazinesTurret]] [[removeMagazineTurret]] [[setVehicleAmmo]]
}}
}}

Revision as of 23:11, 1 April 2025

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:
removeAllMagazines player;

Additional Information

See also:
removeMagazines addMagazine magazines removeMagazine removeWeapon removeMagazinesTurret removeAllMagazinesTurret 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