magazinesTurret: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Fred Gandt (talk | contribs) m (<code> tidy) |
||
Line 20: | Line 20: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_mags | |x1= <code>_mags = [[vehicle]] [[player]] [[magazinesTurret]] [0, 0];</code> |= Example 1 | ||
|x2= <code>_mags | |x2= <code>_mags = _tank [[magazinesTurret]] [0];</code> |= Example 2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 04:56, 19 March 2014
Description
- Description:
- Returns all magazines of given turret. Use turret path [-1] for driver's turret.
- 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:
- addMagazineTurretremoveMagazinesTurretremoveMagazineTurretweaponsTurretmagazinesmagazinesDetail, magazinesAmmomagazinesAmmoFull
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