customChat: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|0.50 | |0.50 | ||
|gr1= Radio and Chat | |gr1= Radio and Chat | ||
|gr2= Custom Radio and Chat | |gr2= Custom Radio and Chat | ||
|arg= global | |arg= global | ||
|eff= local | |eff= local | ||
| Sends the chat message to the custom radio channel. The radio channel needs to be created on the server before hand, with [[radioChannelCreate]] command. | | Sends the chat message to the custom radio channel. The radio channel needs to be created on the server before hand, with [[radioChannelCreate]] command. | ||
| unit [[customChat]] [customChannelID, message] | | unit [[customChat]] [customChannelID, message] | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|p2= customChannelID: [[Number]] - [[Channel IDs|Custom channel ID]] returned by [[radioChannelCreate]] command | |p2= customChannelID: [[Number]] - [[Channel IDs|Custom channel ID]] returned by [[radioChannelCreate]] command | ||
|p3= message: [[String]] | |p3= message: [[String]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_unit [[customChat]] [1, "Hi, I am a custom chat message"];</code> | |x1= <code>_unit [[customChat]] [1, "Hi, I am a custom chat message"];</code> | ||
|x2= [[File:xChat.jpg|right]] | |x2= [[File:xChat.jpg|right]] | ||
Line 36: | Line 36: | ||
[[systemChat]] "systemChat"; | [[systemChat]] "systemChat"; | ||
<br><!-- needed for the text to display properly with the float…??? --> | <br><!-- needed for the text to display properly with the float…??? --> | ||
| [[globalChat]], [[groupChat]], [[vehicleChat]], [[commandChat]], [[sideChat]], [[systemChat]], [[radioChannelCreate]], [[customRadio]] | |||
| [[globalChat]], [[groupChat]], [[vehicleChat]], [[commandChat]], [[sideChat]], [[systemChat]], [[radioChannelCreate]], [[customRadio]] | |||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:27, 18 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