addWeaponTurret: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
Lou Montana (talk | contribs) m (Text replacement - "\|s1= +" to "|s1= ") |
||
Line 15: | Line 15: | ||
|descr= Adds a weapon to the turret. Use turret path [-1] for driver's turret. | |descr= Adds a weapon to the turret. Use turret path [-1] for driver's turret. | ||
|s1= | |s1= vehicle [[addWeaponTurret]] [weaponName, turretPath] | ||
|p1= vehicle: [[Object]] | |p1= vehicle: [[Object]] |
Revision as of 15:30, 19 June 2021
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, turretPath]: Array
- weaponName: String
- turretPath: Array
- Return Value:
- Nothing
Examples
- Example 1:
_tank addWeaponTurret ["LMG_M200", [0,0]];
Additional Information
- See also:
- removeWeaponTurretturretLocaladdMagazineTurretmagazinesTurretremoveMagazinesTurretremoveMagazineTurretweaponsTurretcurrentMagazineDetailTurretcurrentMagazineTurretcurrentWeaponTurretselectWeaponTurret
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