commandChat

From Bohemia Interactive Community
Revision as of 01:54, 7 August 2015 by Benargee (talk | contribs) (alt syntax)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Types text to the command radio channel. Note: This function only types text to the list, it does not broadcast the message. If you want the message to show on all computers, you have to execute it on all of them.
Groups:
Uncategorised

Syntax

Syntax:
unit commandChat chatText
Parameters:
unit: Object or Array -
chatText: String -
Return Value:
Nothing

Alternative Syntax

Syntax:
[side, string] commandChat chatText
Parameters:
[side, string]: Array
side: Side
string: String
chatText: String
Return Value:
Nothing

Examples

Example 1:
_soldierOne commandChat "Show this text";
Example 2:
[playerSide,"HQ"] commandChat "Do this! That's an order!";
Example 3:
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:
globalChatgroupChatvehicleChatsideChatcustomChatsystemChat

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