customChat: Difference between revisions
Jump to navigation
Jump to search
m (Linked to Channel IDs) |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 13: | Line 12: | ||
|eff= local |Multiplayer Effects= | |eff= local |Multiplayer Effects= | ||
| Sends the chat message to the custom radio channel. The radio channel needs to be created on the server before hand, with [[radioChannelCreate]] command. |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. |DESCRIPTION= | ||
| unit [[customChat]] [customChannelID, message] |SYNTAX= | | unit [[customChat]] [customChannelID, message] |SYNTAX= | ||
Line 27: | Line 24: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>_unit [[customChat]] [1, "Hi, I am a custom chat message"];</code> |EXAMPLE1= | |x1= <code>_unit [[customChat]] [1, "Hi, I am a custom chat message"];</code> |EXAMPLE1= | ||
Line 41: | Line 37: | ||
<br><!-- needed for the text to display properly with the float…??? --> | <br><!-- needed for the text to display properly with the float…??? --> | ||
|EXAMPLE2= | |EXAMPLE2= | ||
| [[globalChat]], [[groupChat]], [[vehicleChat]], [[commandChat]], [[sideChat]], [[systemChat]], [[radioChannelCreate]], [[customRadio]] |SEEALSO= | | [[globalChat]], [[groupChat]], [[vehicleChat]], [[commandChat]], [[sideChat]], [[systemChat]], [[radioChannelCreate]], [[customRadio]] |SEEALSO= |
Revision as of 00:46, 17 January 2021
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 [customChannelID, message]
- Parameters:
- unit: Object
- customChannelID: Number - Custom 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