addWeaponTurret: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
||
Line 14: | Line 14: | ||
|gr1= Turrets | |gr1= Turrets | ||
| 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= vehicle [[addWeaponTurret]] [weaponName, turretPath] | |s1= vehicle [[addWeaponTurret]] [weaponName, turretPath] |
Revision as of 20:54, 13 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