magazinesTurret: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (template:command argument fix)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| vehicle '''magazinesTurret''' turretPath|= Syntax
| vehicle '''magazinesTurret''' turretPath|SYNTAX=


|p1= vehicle: [[Object]] |= Parameter 1
|p1= vehicle: [[Object]] |PARAMETER1=
|p2= turretPath: [[Array]] |= Parameter 2
|p2= turretPath: [[Array]] |PARAMETER2=


| [[Array]] of [[String|Strings]] |= Return value
| [[Array]] of [[String|Strings]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_mags = [[vehicle]] [[player]] [[magazinesTurret]] [0, 0];</code> |= Example 1
|x1= <code>_mags = [[vehicle]] [[player]] [[magazinesTurret]] [0, 0];</code> |EXAMPLE1=
|x2= <code>_mags = _tank [[magazinesTurret]] [0];</code> |= Example 2
|x2= <code>_mags = _tank [[magazinesTurret]] [0];</code> |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[magazinesAllTurrets]], [[addMagazineTurret]], [[removeMagazinesTurret]], [[removeMagazineTurret]], [[weaponsTurret]], [[loadMagazine]], [[magazines]], [[magazinesDetail]],  [[magazinesAmmo]], [[magazinesAmmoFull]], [[addWeaponTurret]], [[removeWeaponTurret]], [[turretLocal]] |= See also
| [[magazinesAllTurrets]], [[addMagazineTurret]], [[removeMagazinesTurret]], [[removeMagazineTurret]], [[weaponsTurret]], [[loadMagazine]], [[magazines]], [[magazinesDetail]],  [[magazinesAmmo]], [[magazinesAmmoFull]], [[addWeaponTurret]], [[removeWeaponTurret]], [[turretLocal]] |SEEALSO=


}}
}}

Revision as of 14:43, 7 April 2019

Hover & click on the images for description

Description

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

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

See also:
magazinesAllTurretsaddMagazineTurretremoveMagazinesTurretremoveMagazineTurretweaponsTurretloadMagazinemagazinesmagazinesDetail, magazinesAmmomagazinesAmmoFulladdWeaponTurretremoveWeaponTurretturretLocal

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

Notes

Bottom Section