magazinesTurret: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (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]]|= | | Returns all magazines of given turret. Use turret path [-1] for driver's turret. Alternatively, use [[magazinesAllTurrets]]|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| vehicle '''magazinesTurret''' turretPath|= | | vehicle '''magazinesTurret''' turretPath|SYNTAX= | ||
|p1= vehicle: [[Object]] |= | |p1= vehicle: [[Object]] |PARAMETER1= | ||
|p2= turretPath: [[Array]] |= | |p2= turretPath: [[Array]] |PARAMETER2= | ||
| [[Array]] of [[String|Strings]] |= | | [[Array]] of [[String|Strings]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_mags = [[vehicle]] [[player]] [[magazinesTurret]] [0, 0];</code> |= | |x1= <code>_mags = [[vehicle]] [[player]] [[magazinesTurret]] [0, 0];</code> |EXAMPLE1= | ||
|x2= <code>_mags = _tank [[magazinesTurret]] [0];</code> |= | |x2= <code>_mags = _tank [[magazinesTurret]] [0];</code> |EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[magazinesAllTurrets]], [[addMagazineTurret]], [[removeMagazinesTurret]], [[removeMagazineTurret]], [[weaponsTurret]], [[loadMagazine]], [[magazines]], [[magazinesDetail]], [[magazinesAmmo]], [[magazinesAmmoFull]], [[addWeaponTurret]], [[removeWeaponTurret]], [[turretLocal]] |= | | [[magazinesAllTurrets]], [[addMagazineTurret]], [[removeMagazinesTurret]], [[removeMagazineTurret]], [[weaponsTurret]], [[loadMagazine]], [[magazines]], [[magazinesDetail]], [[magazinesAmmo]], [[magazinesAmmoFull]], [[addWeaponTurret]], [[removeWeaponTurret]], [[turretLocal]] |SEEALSO= | ||
}} | }} |
Revision as of 14:43, 7 April 2019
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
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.52
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Uncategorised
- ArmA 2 OA: New Scripting Commands List
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters