---
name: "getCustomSoundControllerCount"
type: command
status: ok
groups: ["Sounds"]
arma3_since: "1.86"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getCustomSoundControllerCount
revid: 309206
updated: 2022-05-03T18:49:18Z
---

# getCustomSoundControllerCount

*Command · Sounds · Arma 3 v1.86*

## Description

Returns current number of custom sound controllers supported by the engine for the given vehicle (currently 32)

## Syntax

```sqf
getCustomSoundControllerCount vehicle
```

**Parameters:**

- `vehicle`: [Object](../topics/Object.md) - a transport type vehicle. Does not work on characters or buildings

**Returns:** [Number](../topics/Number.md) - number of custom controllers

## Examples

### Example 1

```sqf
getCustomSoundControllerCount vehicle player;
```

## See also

Arma 3: Sound · [setCustomSoundController](../commands/setCustomSoundController.md) · [getCustomSoundController](../commands/getCustomSoundController.md) · [getSoundController](../commands/getSoundController.md) · [getSoundControllerResult](../commands/getSoundControllerResult.md) · [getAllSoundControllers](../commands/getAllSoundControllers.md) · [getEnvSoundController](../commands/getEnvSoundController.md) · [getAllEnvSoundControllers](../commands/getAllEnvSoundControllers.md)

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