customChat: Difference between revisions
Jump to navigation
Jump to search
m (command group) |
m (removed one parameter (was there twice)) |
||
Line 18: | Line 18: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| unit [[customChat]] [ | | unit [[customChat]] [channelID, message] |SYNTAX= | ||
|p1= unit: [[Object]] |PARAMETER1= | |p1= unit: [[Object]] |PARAMETER1= | ||
|p2= [channel | |p2= channelID: [[Number]] - custom radio channel ID returned by [[radioChannelCreate]] command|PARAMETER3= | ||
|p3 | |p3= message: [[String]] |PARAMETER4= | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= |
Revision as of 16:51, 24 October 2020
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
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:
-
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
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