customChat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also, example locality)
(Too classy for wiki)
Line 5: Line 5:


|0.50|= Game version
|0.50|= Game version
|arg= global |= Arguments in MP
|eff= local |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 27: Line 23:




|x1= <code>sweetBoy [[customChat]] [1, "Hi, any sweetgirls to chat?"];</code>|= EXAMPLE1  
|x1= <code>_unit customChat [1, &quot;Hello, I am a custom chat message!&quot;]</code>|= EXAMPLE1  
 
|x2= <code>[[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";</code>
<br>[[Image:xChat.jpg]]|= Example 1


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[globalChat]], [[groupChat]], [[vehicleChat]], [[commandChat]], [[sideChat]], [[systemChat]], [[radioChannelCreate]], [[customRadio]] |= SEEALSO  
| |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  
Line 55: Line 42:
<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 04:55, 24 March 2015

Hover & click on the images for description

Description

Description:
Sends the chat message to the custom radio channel.
Groups:
Uncategorised

Syntax

Syntax:
unit customChat [channel, message]
Parameters:
unit: Object
[channel, message]: Array
channel: Number
message: String
Return Value:
Nothing

Examples

Example 1:
_unit customChat [1, "Hello, I am a custom chat message!"]

Additional Information

See also:
See also needed

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