---
name: "BIS_fnc_returnVehicleTurrets"
type: function
status: ok
groups: ["Vehicles"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_returnVehicleTurrets
revid: 327908
updated: 2022-07-13T11:48:06Z
---

# BIS_fnc_returnVehicleTurrets

*Function · Vehicles · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Return the path to all turrets and sub-turrets in a vehicle.

> [!NOTE]
> **Arma 3:** Does not seem to work in Arma 3. Use [allTurrets](../commands/allTurrets.md) and [BIS_fnc_allTurrets](../functions/BIS_fnc_allTurrets.md) instead.

## Syntax

```sqf
[configEntry] call BIS_fnc_returnVehicleTurrets
```

**Parameters:**

- `configEntry`: [Config](../topics/Config.md) - vehicle config entry

**Returns:** [Array](../topics/Array.md) - turret paths ([0], [0, 1] format)

## Examples

### Example 1

```sqf
[configFile >> "CfgVehicles" >> "B_MBT_01_TUSK_F"] call BIS_fnc_returnVehicleTurrets;
```

## See also

[allTurrets](../commands/allTurrets.md) · [BIS_fnc_allTurrets](../functions/BIS_fnc_allTurrets.md)

<sub>Source: [BI Community Wiki — BIS fnc returnVehicleTurrets](https://community.bistudio.com/wiki/BIS_fnc_returnVehicleTurrets) (revision 327908).</sub>
