addMagazinesTurret: Difference between revisions
Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1=2.20 |arg= local |eff= global |gr1= Turrets |descr= Adds given number of a magazine to the given turret. Use turret path {{hl|[-1]}} for driver's turret. |s1= vehicle addMagazinesTurret [magazineName, turretPath, quantity] |p1= vehicle: Object |p2= magazineName: String |p3= turretPath: Array format Turret Path |p4= quantity: Number - desired number of the magazines |r1= Nothing |x1= <sqf>_t...") |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 18: | Line 18: | ||
|p2= magazineName: [[String]] | |p2= magazineName: [[String]] | ||
|p3= turretPath: | |p3= turretPath: [[Turret Path]] | ||
|p4= quantity: [[Number]] - desired number of the magazines | |p4= quantity: [[Number]] - desired number of the magazines | ||
Latest revision as of 07:49, 2 January 2026
Description
- Description:
- Adds given number of a magazine to the given turret. Use turret path [-1] for driver's turret.
- Groups:
- Turrets
Syntax
- Syntax:
- vehicle addMagazinesTurret [magazineName, turretPath, quantity]
- Parameters:
- vehicle: Object
- magazineName: String
- turretPath: Turret Path
- quantity: Number - desired number of the magazines
- Return Value:
- Nothing
Examples
- Example 1:
- _tank addMagazinesTurret ["20Rnd_120mmSABOT_M1A2", [0], 10];
Additional Information
- See also:
- addMagazineTurret addMagazineGlobal addMagazine loadMagazine addMagazines addMagazineCargo addMagazineCargoGlobal addMagazinePool magazinesTurret removeMagazinesTurret removeMagazineTurret weaponsTurret addMagazineAmmoCargo addWeaponTurret removeWeaponTurret turretLocal
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note