customChat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (removed one parameter (was there twice))
m (Text replacement - "|gr2= Custom Radio |GROUP2=" to "|gr2= Custom Radio and Chat |GROUP2=")
Line 8: Line 8:
|gr1= Radio and Chat |GROUP1=
|gr1= Radio and Chat |GROUP1=


|gr2= Custom Radio |GROUP2=
|gr2= Custom Radio and Chat |GROUP2=


|arg= global |Multiplayer Arguments=
|arg= global |Multiplayer Arguments=

Revision as of 16:59, 24 October 2020

Hover & click on the images for description

Description

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.
Groups:
Radio and ChatCustom Radio and Chat

Syntax

Syntax:
unit customChat [channelID, message]
Parameters:
unit: Object
channelID: Number - custom radio channel ID returned by radioChannelCreate command
message: String
Return Value:
Nothing

Examples

Example 1:
_unit customChat [1, "Hi, I am a custom chat message"];
Example 2:
xChat.jpg
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";

Additional Information

See also:
globalChatgroupChatvehicleChatcommandChatsideChatsystemChatradioChannelCreatecustomRadio

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section