customChat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Undo revision 88167 by Benargee (talk))
(Too classy for wiki)
Line 27: Line 27:




|x1= <code>sweetBoy [[customChat]] [1, "Hi, any sweetgirls to chat?"];</code>|= EXAMPLE1  
|x1= <code>_unit [[customChat]] [1, "Hi, I am a custom chat message"];</code>|= EXAMPLE1  


|x2= <code>[[driver]] [[vehicle]] [[player]] [[sideChat]] "sideChat";
|x2= <code>[[driver]] [[vehicle]] [[player]] [[sideChat]] "sideChat";

Revision as of 04:57, 24 March 2015

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:
Uncategorised

Syntax

Syntax:
unit customChat [channel, message]
Parameters:
unit: Object
[channel, message]: Array
channel: Number
message: String
Return Value:
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";
xChat.jpg

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