groupChat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
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|Comments=
{{Command


| ofp |Game name=
| ofp


|1.00|Game version=
|1.00


|arg= global |Multiplayer Arguments=
|arg= global


|eff= local |Multiplayer Effects=
|eff= local


|gr1= Radio and Chat |GROUP1=
|gr1= Radio and Chat


| Types text to the group radio channel. Must have assigned "ItemRadio" to see or transmit the messages. The text will be visible only on the PC where command was executed. If you need the message to show on all computers, you have to execute it globally (see [[remoteExec]]) |DESCRIPTION=
| Types text to the group radio channel. Must have assigned "ItemRadio" to see or transmit the messages. The text will be visible only on the PC where command was executed. If you need the message to show on all computers, you have to execute it globally (see [[remoteExec]])


| unitName [[groupChat]] chatText |SYNTAX=
| unitName [[groupChat]] chatText


|p1= unitName: [[Object]] - unit transmitting message|PARAMETER1=
|p1= unitName: [[Object]] - unit transmitting message


|p2= chatText: [[String]] - message to transmit |PARAMETER2=
|p2= chatText: [[String]] - message to transmit


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]
   
   
|x1= <code>_soldierOne [[groupChat]] "Show this text";</code> |EXAMPLE1=
|x1= <code>_soldierOne [[groupChat]] "Show this text";</code>


|x2= [[File:xChat.jpg|right]]
|x2= [[File:xChat.jpg|right]]
Line 32: Line 32:
  [[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…??? -->
|EXAMPLE2=


| [[globalChat]], [[sideChat]], [[vehicleChat]], [[commandChat]], [[customChat]], [[systemChat]], [[groupRadio]] |SEEALSO=
 
| [[globalChat]], [[sideChat]], [[vehicleChat]], [[commandChat]], [[customChat]], [[systemChat]], [[groupRadio]]
}}
}}



Revision as of 00:46, 18 January 2021

Hover & click on the images for description

Description

Description:
Types text to the group radio channel. Must have assigned "ItemRadio" to see or transmit the messages. The text will be visible only on the PC where command was executed. If you need the message to show on all computers, you have to execute it globally (see remoteExec)
Groups:
Radio and Chat

Syntax

Syntax:
unitName groupChat chatText
Parameters:
unitName: Object - unit transmitting message
chatText: String - message to transmit
Return Value:
Nothing

Examples

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

See also:
globalChatsideChatvehicleChatcommandChatcustomChatsystemChatgroupRadio

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

Bottom Section