---
name: "BIS_fnc_turretConfig"
type: function
status: ok
groups: ["Object Manipulation"]
arma3_since: "1.94"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_turretConfig
revid: 378551
updated: 2026-05-05T15:09:52Z
---

# BIS_fnc_turretConfig

*Function · Object Manipulation · Arma 3 v1.94*

## Description

Returns vehicle turret config for the turret given by the turret path.

## Syntax

```sqf
[vehicle, turret] call BIS_fnc_turretConfig
```

**Parameters:**

- `vehicle`: [Object](../topics/Object.md) or [String](../topics/String.md) - vehicle or vehicle type
- `turret`: Turret Path

**Returns:** [Config](../topics/Config.md) - turret config or [configNull](../commands/configNull.md). Using `[-1]` for turret path returns vehicle config

## Examples

### Example 1

```sqf
getNumber (["B_APC_Wheeled_01_cannon_F", [0,0]] call BIS_fnc_turretConfig >> "hasGunner") > 0;
```

### Example 2

```sqf
getNumber ([car1, [-1]] call BIS_fnc_turretConfig >> "hasDriver") > 0;
```

## See also

[BIS_fnc_vehicleCrewTurrets](../functions/BIS_fnc_vehicleCrewTurrets.md) · [BIS_fnc_allTurrets](../functions/BIS_fnc_allTurrets.md)

<sub>Source: [BI Community Wiki — BIS fnc turretConfig](https://community.bistudio.com/wiki/BIS_fnc_turretConfig) (revision 378551).</sub>
