systemChat: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
No edit summary
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma2oa |Game name=
|game1= arma2oa
|version1= 1.63


|1.63|Game version=
|game2= tkoh
|version2= 1.00


|eff= local |Multiplayer Effects=
|game3= arma3
____________________________________________________________________________________________
|version3= 0.50


| Types text to the system radio channel. 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=
|eff= local
____________________________________________________________________________________________


| [[systemChat]] text |SYNTAX=
|gr1= Radio and Chat


|p1= text: [[String]] - message to transmit |PARAMETER1=
|descr= Types text to the system radio channel. 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]]). Use [[clearRadio]] to clear chat history


| [[Nothing]] |RETURNVALUE=
|s1= [[systemChat]] text
____________________________________________________________________________________________


|x1= <code>[[systemChat]] "Hello world!";</code>|EXAMPLE1=
|p1= text: [[String]] - message to transmit
 
|r1= [[Nothing]]
 
|x1= <sqf>systemChat "Hello world!";</sqf>


|x2= [[File:xChat.jpg|right]]
|x2= [[File:xChat.jpg|right]]
[[driver]] [[vehicle]] [[player]] [[sideChat]] "sideChat";
<sqf>
[[driver]] [[vehicle]] [[player]] [[globalChat]] "globalChat";
driver vehicle player sideChat "sideChat";
[[driver]] [[vehicle]] [[player]] [[groupChat]] "groupChat";
driver vehicle player globalChat "globalChat";
[[vehicle]] [[player]] [[vehicleChat]] "vehicleChat";
driver vehicle player groupChat "groupChat";
[[driver]] [[vehicle]] [[player]] [[commandChat]] "commandChat";
vehicle player vehicleChat "vehicleChat";
[[driver]] [[vehicle]] [[player]] [[customChat]] [1, "customChat"];
driver vehicle player commandChat "commandChat";
[[systemChat]] "systemChat";
driver vehicle player customChat [1, "customChat"];
<br><!-- needed for the text to display properly with the float…??? -->
systemChat "systemChat";
|EXAMPLE2=
</sqf>
 
| [[globalChat]], [[groupChat]], [[vehicleChat]], [[commandChat]], [[customChat]], [[sideChat]], [[directSay]] |SEEALSO=


| |MPBEHAVIOUR=
|seealso= [[globalChat]] [[groupChat]] [[vehicleChat]] [[commandChat]] [[customChat]] [[sideChat]] [[directSay]] [[clearRadio]]
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 01:03, 17 November 2025

Hover & click on the images for description

Description

Description:
Types text to the system radio channel. 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). Use clearRadio to clear chat history
Groups:
Radio and Chat

Syntax

Syntax:
systemChat text
Parameters:
text: String - message to transmit
Return Value:
Nothing

Examples

Example 1:
systemChat "Hello world!";
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:
globalChat groupChat vehicleChat commandChat customChat sideChat directSay clearRadio

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note