vehicle removeMagazinesTurret [magazineName, turretPath]
Operand types
vehicle:
Object[magazineName, turretPath]:
Array
Type of returned value
Description
Removes all magazines of the given type from the unit.
Use turret path [-1] for driver's turret.
Note: you may create invalid combinations by using this function. When doing so, application behaviour is undefined.
Used In
Arma2OA
Example
tank1 removeMagazinesTurret ["20Rnd_120mmSABOT_M1A2",[0]];
tank1 removeMagazinesTurret ["60rnd_cmflaremagazine",[-1]];