removeMagazineTurret

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2: Operation Arrowhead version 1.52
  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.52

Description

Description:
Removes the magazine from the turret. 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.

Syntax

Syntax:
vehicle removeMagazineTurret [magazineName, turretPath]
Parameters:
vehicle: Object
[weaponName, turretPath]: Array
magazineName: String
turretPath: Array
Return Value:
Nothing

Examples

Example 1:
vehicle player removeMagazineTurret ["60rnd_cmflaremagazine",[-1]]
Example 2:
_tank removeMagazineTurret ["20Rnd_120mmSABOT_M1A2",[0]]

Additional Information

Multiplayer:
-
See also:
addMagazineTurretmagazinesTurretremoveMagazinesTurretweaponsTurretaddWeaponTurretremoveWeaponTurretturretLocal

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section