groupChat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(see also example)
Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_soldierOne groupChat "Show this text"</pre> |= Example 1
|x1= <code>_soldierOne [[groupChat]] "Show this text";</code> |= Example 1
____________________________________________________________________________________________


| [[globalChat]], [[sideChat]], [[vehicleChat]] |= See also
|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]], [[sideChat]], [[vehicleChat]], [[commandChat]], [[customChat]], [[systemChat]] |= See also


}}
}}

Revision as of 23:40, 12 November 2014

Hover & click on the images for description

Description

Description:
Make a unit send a text message over the group radio channel. Must have assigned "itemRadio" to see or transmit the messages.
Groups:
Uncategorised

Syntax

Syntax:
unit groupChat chatText
Parameters:
unit: Object
chatText: String - the message that should be sent
Return Value:
Nothing

Examples

Example 1:
_soldierOne groupChat "Show this text";
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";
xChat.jpg

Additional Information

See also:
globalChatsideChatvehicleChatcommandChatcustomChatsystemChat

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