---
name: "setSpeaker"
type: command
status: ok
groups: ["Unit Identity", "Sounds"]
arma3_since: "1.02"
locality: {"argument": "global", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setSpeaker
revid: 364908
updated: 2024-06-30T09:06:33Z
---

# setSpeaker

*Command · Unit Identity, Sounds · Arma 3 v1.02*

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

## Description

Sets the speaker of a person.

## Syntax

```sqf
person setSpeaker speaker
```

**Parameters:**

- `person`: [Object](../topics/Object.md)
- `speaker`: [String](../topics/String.md) - the used voice type, see Arma 3 Speakers

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

## Examples

### Example 1

```sqf
unit1 setSpeaker "Male02GRE";
```

## Multiplayer

The command needs to run on every computer with exactly the same arguments, otherwise the speaking unit could appear silent on other PCs.

## See also

[speaker](../commands/speaker.md) · [disableConversation](../commands/disableConversation.md) · [enableRadio](../commands/enableRadio.md) · [enableSentences](../commands/enableSentences.md) · [showSubtitles](../commands/showSubtitles.md) · [setIdentity](../commands/setIdentity.md) · [setFace](../commands/setFace.md) · [hasCustomFace](../commands/hasCustomFace.md)

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