---
name: "selectWeaponTurret"
type: command
status: ok
groups: ["Turrets"]
arma3_since: "1.12"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/selectWeaponTurret
revid: 377503
updated: 2026-01-02T06:49:33Z
---

# selectWeaponTurret

*Command · Turrets · Arma 3 v1.12*

## Description

Selects the given weapon on the specified turret. Use turret path [-1] for the driver's turret.

## Syntax

```sqf
vehicle selectWeaponTurret [weapon, turretPath, muzzle, firemode]
```

**Parameters:**

- `vehicle`: [Object](../topics/Object.md)
- `weapon`: [String](../topics/String.md) - weapon class name or (since Arma 3 v1.64) muzzle class name
- `turretPath`: Turret Path
- `muzzle`: [String](../topics/String.md) - (Optional) muzzle name *(since arma3 2.08)*
- `firemode`: [String](../topics/String.md) - (Optional) firemode name *(since arma3 2.08)*

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
MBT_Kuma selectWeaponTurret ["LMG_coax",[0]];
```

### Example 2

```sqf
Kamysh selectWeaponTurret ["missiles_titan", [0], "missiles_titan", "topdown"];
```

## See also

[removeWeaponTurret](../commands/removeWeaponTurret.md) · [weaponState](../commands/weaponState.md) · [turretLocal](../commands/turretLocal.md) · [addMagazineTurret](../commands/addMagazineTurret.md) · [magazinesTurret](../commands/magazinesTurret.md) · [removeMagazinesTurret](../commands/removeMagazinesTurret.md) · [removeMagazineTurret](../commands/removeMagazineTurret.md) · [weaponsTurret](../commands/weaponsTurret.md) · [currentMagazineDetailTurret](../commands/currentMagazineDetailTurret.md) · [currentMagazineTurret](../commands/currentMagazineTurret.md) · [currentWeaponTurret](../commands/currentWeaponTurret.md) · [addWeaponTurret](../commands/addWeaponTurret.md)

## Community notes

**Killzone_Kid** — 2017-02-13

The command will treat weapon or muzzle param like a weapon first. If no such weapon is found then it will try to find muzzle with such name. For example AMV-7 Marshall APC has main gun "autocannon_40mm_CTWS" which has 2 muzzles "HE" and "AP". Default muzzle is "HE". So if you try to select weapon by the name "autocannon_40mm_CTWS" you will always get "HE" muzzle selected. However if you pass "AP" as param, it will correctly select "AP" muzzle, since no "AP" weapon exists on this turret it will continue searching for a muzzle with this name and will find it eventually.

<sub>Source: [BI Community Wiki — selectWeaponTurret](https://community.bistudio.com/wiki/selectWeaponTurret) (revision 377503).</sub>
