magazinesTurret

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2: Operation Arrowhead version 1.52
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.52

Description

Description:
Returns all magazines of given turret. Use turret path [-1] for driver's turret. Alternatively, use magazinesAllTurrets

Syntax

Syntax:
vehicle magazinesTurret turretPath
Parameters:
vehicle: Object
turretPath: Array
Return Value:
Array of Strings

Examples

Example 1:
_mags = vehicle player magazinesTurret [0, 0];
Example 2:
_mags = _tank magazinesTurret [0];

Additional Information

Multiplayer:
-
See also:
magazinesAllTurretsaddMagazineTurretremoveMagazinesTurretremoveMagazineTurretweaponsTurretloadMagazinemagazinesmagazinesDetail, magazinesAmmomagazinesAmmoFulladdWeaponTurretremoveWeaponTurretturretLocal

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