---
name: "setCurrentChannel"
type: command
status: ok
groups: ["Radio and Chat"]
arma3_since: "1.42"
locality: {"argument": null, "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setCurrentChannel
revid: 376800
updated: 2025-11-20T17:47:43Z
---

# setCurrentChannel

*Command · Radio and Chat · Arma 3 v1.42*

Locality: effect **local**

## Description

Sets given channel as current chat channel. Scripted way of selecting desired channel on the UI.
The given channel may be disabled (see [enableChannel](../commands/enableChannel.md)), this is why this command returns boolean, [true](../commands/true.md) on success or [false](../commands/false.md) on failure.

| channel ID number correspondence |  |  |  |  |  |  |  |  |  |  |  |  |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| N/A | Global | Side | Command | Group | Vehicle | Direct | Custom1 | .. | Custom10 | Arma 3 v2.22 Custom11 | .. | Custom50 |
| -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 15 | 26 | 65 |  |  |

## Syntax

```sqf
setCurrentChannel channelID
```

**Parameters:**

- `channelID`: [Number](../topics/Number.md) - channel ID

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) on success

## Examples

### Example 1

```sqf
_isDirectSelected = setCurrentChannel 5; // sets Direct channel as current active
```

## See also

[getPlayerChannel](../commands/getPlayerChannel.md) · [currentChannel](../commands/currentChannel.md) · [enableChannel](../commands/enableChannel.md) · [channelEnabled](../commands/channelEnabled.md) · [radioChannelCreate](../commands/radioChannelCreate.md)

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