systemChat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma2oa * * *\| *([0-1]\.[0-9]{2}) * " to "|game1= arma2oa |version1= $1 ")
m (Some wiki formatting)
 
(10 intermediate revisions by the same user not shown)
Line 14: Line 14:
|gr1= Radio and Chat
|gr1= Radio and Chat


|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]])
|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
|s1= [[systemChat]] text


|p1= text: [[String]] - message to transmit
|p1= text: [[String]] - message to transmit
Line 22: Line 22:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[systemChat]] "Hello world!";</code>
|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";
</sqf>


|seealso= [[globalChat]], [[groupChat]], [[vehicleChat]], [[commandChat]], [[customChat]], [[sideChat]], [[directSay]]
|seealso= [[globalChat]] [[groupChat]] [[vehicleChat]] [[commandChat]] [[customChat]] [[sideChat]] [[directSay]]
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 01: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