commandChat: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 26: | Line 26: | ||
|x1= <code>_soldierOne [[commandChat]] "Show this text";</code>|= EXAMPLE1 | |x1= <code>_soldierOne [[commandChat]] "Show this text";</code>|= EXAMPLE1 | ||
|x2= <code><nowiki>[</nowiki>[[playerSide]],"HQ"] [[commandChat]] "Do this! That's an order!"</code>|= EXAMPLE2 | |x2= <code><nowiki>[</nowiki>[[playerSide]],"HQ"] [[commandChat]] "Do this! That's an order!";</code>|= EXAMPLE2 | ||
|x3= <code>[[driver]] [[vehicle]] [[player]] [[sideChat]] "sideChat"; | |x3= <code>[[driver]] [[vehicle]] [[player]] [[sideChat]] "sideChat"; |
Revision as of 00:33, 7 August 2015
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:
[playerSide,"HQ"] commandChat "Do this! That's an order!";
- Example 3:
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