Arma 3 Scripting

Command in Unit Identity

setNameSound

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets the nameSound of a person. By default, when giving orders, the units are addressed by their number. When nameSound is set, it will be used instead to address the unit. For example instead of "Two, hold fire!", one can have "Miller, hold fire!".

Note

See Arma 3: CfgIdentities#NameSounds for common values.

Note that any word from configFile >> "RadioProtocolENG" >> "Words" is accepted (e.g "veh_infantry_Sniper_s").

Syntax

person setNameSound name

Parameters:

Returns: Nothing

Examples

Example 1

unit1 setNameSound "dixon";

Example 2

unit1 setNameSound ""; // will reset to default behaviour

Example 3

_name = "Masood";
unit1 setNameSound _name;
unit1 setName _name;

See also

nameSound · name · setName · setIdentity

Community notes

Lou Montana

setting an incorrect value like "0" or "randomString" will remove the callsign (" / 2, / fall back")