customChat: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) |
||
Line 14: | Line 14: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| unit | | unit [[customChat]] [channel, message] |SYNTAX= | ||
|p1= unit: [[Object]] |PARAMETER1= | |p1= unit: [[Object]] |PARAMETER1= | ||
Line 25: | Line 25: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | |||
|x1= <code>_unit [[customChat]] [1, "Hi, I am a custom chat message"];</code> |EXAMPLE1= | |||
| | |x2= [[File:xChat.jpg|right]] | ||
[[driver]] [[vehicle]] [[player]] [[sideChat]] "sideChat"; | |||
[[driver]] [[vehicle]] [[player]] [[globalChat]] "globalChat"; | |||
[[driver]] [[vehicle]] [[player]] [[globalChat]] "globalChat"; | [[driver]] [[vehicle]] [[player]] [[groupChat]] "groupChat"; | ||
[[driver]] [[vehicle]] [[player]] [[groupChat]] "groupChat"; | [[vehicle]] [[player]] [[vehicleChat]] "vehicleChat"; | ||
[[vehicle]] [[player]] [[vehicleChat]] "vehicleChat"; | [[driver]] [[vehicle]] [[player]] [[commandChat]] "commandChat"; | ||
[[driver]] [[vehicle]] [[player]] [[commandChat]] "commandChat"; | [[driver]] [[vehicle]] [[player]] [[customChat]] [1, "customChat"]; | ||
[[driver]] [[vehicle]] [[player]] [[customChat]] [1, "customChat"]; | [[systemChat]] "systemChat"; | ||
[[systemChat]] "systemChat";< | <br><!-- needed for the text to display properly with the float…??? --> | ||
< | |EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[globalChat]], [[groupChat]], [[vehicleChat]], [[commandChat]], [[sideChat]], [[systemChat]], [[radioChannelCreate]], [[customRadio]] |SEEALSO= | | [[globalChat]], [[groupChat]], [[vehicleChat]], [[commandChat]], [[sideChat]], [[systemChat]], [[radioChannelCreate]], [[customRadio]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Line 54: | Line 54: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
Revision as of 00:07, 19 December 2019
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 - 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