systemChat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Some wiki formatting)
 
(39 intermediate revisions by 5 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


| Types text to the system radio channel.  |= Description
|game3= arma3
____________________________________________________________________________________________
|version3= 0.50


| '''systemChat''' text |= Syntax
|eff= local


|p1= text: [[String]]  |= PARAMETER1
|gr1= Radio and Chat


| [[Nothing]] |= RETURNVALUE
|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]]).


|s1= [[systemChat]] text


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


____________________________________________________________________________________________
|r1= [[Nothing]]


| |= SEEALSO
|x1= <sqf>systemChat "Hello world!";</sqf>


|mp= This function only types text to the list, it does not broadcast the message. If you want the message to show on all computers, you have to execute it on all of them. |= MPBEHAVIOUR
|x2= [[File:xChat.jpg|right]]
____________________________________________________________________________________________
<sqf>
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";
</sqf>
 
|seealso= [[globalChat]] [[groupChat]] [[vehicleChat]] [[commandChat]] [[customChat]] [[sideChat]] [[directSay]]
}}
}}
<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 ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 00:46, 22 July 2022

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).
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

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