sideChat: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Killzone Kid (talk | contribs) (see also example) |
||
Line 5: | Line 5: | ||
|1.34|= Game version | |1.34|= Game version | ||
|arg= global |= Arguments in MP | |||
|eff= local |= Effects in MP | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 20: | Line 24: | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
|s2= [side, string] '''sideChat''' chatText |= Syntax | |s2= [side, string] '''sideChat''' chatText |= Syntax | ||
|p21= [side, string]: [[Array]] |= Parameter 1 | |p21= [side, string]: [[Array]] |= Parameter 1 | ||
Line 28: | Line 32: | ||
|p23= string: [[String]] |= Parameter 3 | |p23= string: [[String]] |= Parameter 3 | ||
|p24= chatText: [[String]] |= Parameter 4 | |p24= chatText: [[String]] |= Parameter 4 | ||
|r2= [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
| [[ | |x1= <code>_soldierOne [[sideChat]] "Show this text";</code>|= Example 1 | ||
|x2= <code>PAPABEAR = [West,"HQ"]; PAPABEAR [[sideChat]] "Hi there";</code>|= Example 1 | |||
|x3= <code>[[driver]] [[vehicle]] [[player]] [[sideChat]] "sideChat"; | |||
[[driver]] [[vehicle]] [[player]] [[globalChat]] "globalChat"; | |||
|x2= < | [[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]] |= See also | | [[globalChat]], [[groupChat]], [[vehicleChat]], [[commandChat]], [[customChat]], [[systemChat]] |= See also | ||
}} | }} |
Revision as of 23:35, 12 November 2014
Description
- Description:
- Types text to the side radio channel. Must have assigned "itemRadio" to see or transmit the messages. 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:
- unitName sideChat chatText
- Parameters:
- unitName: Object
- chatText: String
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- [side, string] sideChat chatText
- Parameters:
- [side, string]: Array
- side: Side
- string: String
- chatText: String
- Return Value:
- Nothing
Examples
- Example 1:
_soldierOne sideChat "Show this text";
- Example 2:
PAPABEAR = [West,"HQ"]; PAPABEAR sideChat "Hi there";
- 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
Notes
- Ceeeb
- In OFP v1.96, sideChat messages can be sent from 2 abstract sources: "Papa_Bear" and "Base FireFly". Use sideChat on an array in the form [SIDE,"base"],[SIDE,"HQ"],[SIDE,"Papa_bear"] or [SIDE,"airbase"], where SIDE is the side broadcasting. "HQ", "base" and "Papa_bear" seem to be the same object. The callsign strings can be re-defined using a stringTable.csv file, using STR_CFG_PAPABEAR and STR_CFG_FIREFLYBASE. Example : [EAST,"base"] sideChat "Return to base!".
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.34
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Radio Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Notes: Improper Formatting