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:
unit: Object - sendercustomChannelID: Number - Custom channel ID returned by radioChannelCreate commandmessage: String
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