addWeaponTurret: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ?\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 27: | Line 27: | ||
|x1= <code>_tank [[addWeaponTurret]] ["LMG_M200", [0,0]];</code> | |x1= <code>_tank [[addWeaponTurret]] ["LMG_M200", [0,0]];</code> | ||
|seealso= [[removeWeaponTurret]] [[turretLocal]] | |seealso= [[removeWeaponTurret]] [[turretLocal]] [[addMagazineTurret]], [[magazinesTurret]], [[removeMagazinesTurret]], [[removeMagazineTurret]], [[weaponsTurret]], [[currentMagazineDetailTurret]], [[currentMagazineTurret]], [[currentWeaponTurret]], [[selectWeaponTurret]] | ||
}} | }} | ||
Revision as of 12:59, 20 January 2022
Description
- Description:
- Adds a weapon to the turret. Use turret path [-1] for driver's turret.
- Groups:
- Turrets
Syntax
- Syntax:
- vehicle addWeaponTurret [weaponName, turretPath]
- Parameters:
- vehicle: Object
- weaponName: String
- turretPath: Array
- Return Value:
- Nothing
Examples
- Example 1:
_tank addWeaponTurret ["LMG_M200", [0,0]];
Additional Information
- See also:
- removeWeaponTurret turretLocal addMagazineTurretmagazinesTurretremoveMagazinesTurretremoveMagazineTurretweaponsTurretcurrentMagazineDetailTurretcurrentMagazineTurretcurrentWeaponTurretselectWeaponTurret
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
- Posted on Jun 03, 2021 - 12:05 (UTC)
-
You can find out the turret path by entering the turret and checking with
assignedVehicleRole player;