---
name: "commandRadio"
type: command
status: ok
groups: ["Radio and Chat", "Sounds"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/commandRadio
revid: 325178
updated: 2022-07-01T14:34:30Z
---

# commandRadio

*Command · Radio and Chat, Sounds · Arma 3 v0.50 · introduced in Arma 2 v1.00*

Locality: arguments **global** · effect **local**

## Description

Sends the audio message to the command radio channel. The message is defined in CfgRadio in the [description.ext](../topics/Description.ext.md) file or config radio protocol. The transmission will play only on the PC where command was executed. If you need the transmission to play on all computers, you have to execute it globally (see [remoteExec](../commands/remoteExec.md)).

> [!IMPORTANT]
> The unit must have an [assigned](../commands/assignItem.md) radio item (such as ***"ItemRadio"***) to see or transmit the messages.
> A radio item must have the property `simulation = "ItemRadio";` in its CfgWeapons config.

> [!NOTE]
> When transmitting unit gets killed, transmission will be interrupted. However when receiving unit gets killed, the transmission continues to play.

## Syntax

### Syntax 1

```sqf
unit commandRadio radioName
```

**Parameters:**

- `unit`: [Object](../topics/Object.md) - unit to transmit
- `radioName`: [String](../topics/String.md) - class name from CfgRadio

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

### Syntax 2

```sqf
[side, identity] commandRadio radioName
```

**Parameters:**

- `side`: [Side](../topics/Side.md) - side to which the transmission will be played
- `identity`: [String](../topics/String.md) - class name of one of the identities in CfgHQIdentities. Possible identities in Arma 3 are:
  - "Base"
  - "HQ"
  - "PAPA_BEAR"
  - "AirBase"
  - "BLU"
  - "OPF"
  - "IND"
  - "IND_G"
- `radioName`: [String](../topics/String.md) - class name from CfgRadio

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

## Examples

### Example 1

```sqf
_soldierOne commandRadio "messageOne";
```

### Example 2

```sqf
player commandRadio configName selectRandom ("true" configClasses (configFile >> "CfgRadio"));
```

### Example 3

```sqf
[west, "Base"] commandRadio configName selectRandom ("true" configClasses (configFile >> "CfgRadio"));
```

## See also

[sideRadio](../commands/sideRadio.md) · [groupRadio](../commands/groupRadio.md) · [customRadio](../commands/customRadio.md) · [vehicleRadio](../commands/vehicleRadio.md) · [globalRadio](../commands/globalRadio.md) · [directSay](../commands/directSay.md) · [commandChat](../commands/commandChat.md)

## Community notes

**Nikita320106** — 2010-06-24

*example:*

```sqf
_unit commandRadio "SentCmdHide";
```

radio command from CA_Dubbing config should work

---

**Killzone_Kid** — 2016-12-03

To transmit user custom sounds (see Multiplayer_Custom_Sounds_Tutorial), prefix the full filename including file extension with #.
For example if there is a custom user sound file called `MySound.ogg`, to play it on the radio use:

```sqf
player commandRadio "#MySound.ogg";
```

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