addWeaponTurret: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s1= +" to "|s1= ") |
No edit summary |
||
Line 31: | Line 31: | ||
|seealso= [[removeWeaponTurret]], [[turretLocal]], [[addMagazineTurret]], [[magazinesTurret]], [[removeMagazinesTurret]], [[removeMagazineTurret]], [[weaponsTurret]], [[currentMagazineDetailTurret]], [[currentMagazineTurret]], [[currentWeaponTurret]], [[selectWeaponTurret]] | |seealso= [[removeWeaponTurret]], [[turretLocal]], [[addMagazineTurret]], [[magazinesTurret]], [[removeMagazinesTurret]], [[removeMagazineTurret]], [[weaponsTurret]], [[currentMagazineDetailTurret]], [[currentMagazineTurret]], [[currentWeaponTurret]], [[selectWeaponTurret]] | ||
}} | }} | ||
<dl class="command_description"> | |||
<dt></dt> | |||
<dd class="notedate">Posted on July 3, 2021 - 12:05 (UTC)</dd> | |||
<dt class="note">[[User:7erra|7erra]]</dt> | |||
<dd class="note"> | |||
You can find out the turret path by entering the turret and checking with | |||
<code>[[assignedVehicleRole]] [[player]];</code> | |||
</dd> | |||
</dl> |
Revision as of 13:05, 3 July 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
- Posted on July 3, 2021 - 12:05 (UTC)
- 7erra
-
You can find out the turret path by entering the turret and checking with
assignedVehicleRole player;