Arma 3 Scripting

customChat

  • Global argument
  • Local effect
  • Arma 3 v0.50

Command · also in Custom Radio and Chat · Markdown · JSON · original wiki page

Description

Sends the chat message to the custom radio channel. The radio channel needs to be created on the server before hand, with radioChannelCreate command. Use clearRadio to clear chat history

Important

The unit must have an assigned radio item (such as "ItemRadio") to see or transmit the messages. A radio item must have the property simulation = "ItemRadio"; in its CfgWeapons config.

Syntax

unit customChat [customChannelID, message]

Parameters:

Returns: Nothing

Examples

Example 1

_unit customChat [1, "Hi, I am a custom chat message"];

Example 2

driver vehicle player sideChat "sideChat";
driver vehicle player globalChat "globalChat";
driver vehicle player groupChat "groupChat";
vehicle player vehicleChat "vehicleChat";
driver vehicle player commandChat "commandChat";
driver vehicle player customChat [1, "customChat"];
systemChat "systemChat";

See also

globalChat · groupChat · vehicleChat · commandChat · sideChat · systemChat · radioChannelCreate · customRadio