commandChat: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Killzone Kid (talk | contribs) (see also, locality, example) |
||
Line 5: | Line 5: | ||
|1.00|= Game version | |1.00|= Game version | ||
|arg= global |= Arguments in MP | |||
|eff= local |= Effects in MP | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Types text to the command radio channel. | | Types text to the command radio channel. Note: 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. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 16: | Line 20: | ||
|p2= chatText: [[String]] - |= PARAMETER2 | |p2= chatText: [[String]] - |= PARAMETER2 | ||
| Nothing |= RETURNVALUE | | [[Nothing]] |= RETURNVALUE | ||
|x1= <code> | |x1= <code>_soldierOne [[commandChat]] "Show this text";</code>|= EXAMPLE1 | ||
|x2= <code>[[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";</code> | |||
<br>[[Image:xChat.jpg]]|= Example 1 | |||
| | | [[globalChat]], [[groupChat]], [[vehicleChat]], [[sideChat]], [[customChat]], [[systemChat]] |= See also | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 23:45, 12 November 2014
Description
- Description:
- Types text to the command radio channel. Note: 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.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit commandChat chatText
- Parameters:
- unit: Object or Array -
- chatText: String -
- Return Value:
- Nothing
Examples
- Example 1:
_soldierOne commandChat "Show this text";
- 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