systemChat: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2oa | |game1= arma2oa | ||
|1.63 | |version1= 1.63 | ||
|game2= tkoh | |game2= tkoh | ||
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= | |s1= [[systemChat]] text | ||
|p1= text: [[String]] - message to transmit | |p1= text: [[String]] - message to transmit | ||
Line 22: | Line 22: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>systemChat "Hello world!";</sqf> | ||
|x2= [[File:xChat.jpg|right]] | |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]] | |seealso= [[globalChat]] [[groupChat]] [[vehicleChat]] [[commandChat]] [[customChat]] [[sideChat]] [[directSay]] | ||
}} | }} | ||
Latest revision as of 00:46, 22 July 2022
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:
-
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
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