groupChat: Difference between revisions
Categories: Scripting CommandsIntroduced with Operation Flashpoint version 1.00Operation Flashpoint: New Scripting CommandsOperation Flashpoint: Scripting CommandsOperation Flashpoint: Elite: Scripting CommandsArmA: Armed Assault: Scripting CommandsArma 2: Scripting CommandsArma 2: Operation Arrowhead: Scripting CommandsTake On Helicopters: Scripting CommandsArma 3: Scripting CommandsCommand Group: Radio and ChatScripting Commands: Local Effect
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 28: | Line 28: | ||
|gr1= Radio and Chat | |gr1= Radio and Chat | ||
|descr= Types text to the group 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 group 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]]). | ||
{{Feature | | {{Feature|important|The unit must have an [[assignItem|assigned]] radio item (such as '''''"ItemRadio"''''') to see or transmit the messages. A radio item must have the property {{ic|simulation [[=]] "ItemRadio";}} in its [[CfgWeapons_Config_Reference#simulation.3D.22Weapon.22|CfgWeapons config]].}} | ||
|s1= unitName [[groupChat]] chatText | |s1= unitName [[groupChat]] chatText | ||
Line 43: | Line 43: | ||
|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]] [[sideChat]] [[vehicleChat]] [[commandChat]] [[customChat]] [[systemChat]] [[groupRadio]] | |seealso= [[globalChat]] [[sideChat]] [[vehicleChat]] [[commandChat]] [[customChat]] [[systemChat]] [[groupRadio]] | ||
}} | }} |
Revision as of 01:45, 22 July 2022
Description
- Description:
- Types text to the group 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:
- unitName groupChat chatText
- Parameters:
- unitName: Object - unit transmitting message
- chatText: String - message to transmit
- Return Value:
- Nothing
Examples
- Example 1:
- Copy_soldierOne groupChat "Show this text";
- Example 2:
-
Copydriver 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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Radio and Chat
- Scripting Commands: Local Effect