sideChat: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "") |
m (formatting) |
||
Line 4: | Line 4: | ||
|version1= 1.34 | |version1= 1.34 | ||
|game2= ofpe | |||
|version2= 1.00 | |||
|game3= arma1 | |||
|version3= 1.00 | |||
|game4= arma2 | |||
|version4= 1.00 | |||
|game5= arma2oa | |||
|version5= 1.51 | |||
|game6= tkoh | |||
|version6= 1.00 | |||
|game7= arma3 | |||
|version7= 0.50 | |||
|arg= global | |arg= global | ||
Line 16: | Line 40: | ||
|s1= unit [[sideChat]] chatText | |s1= unit [[sideChat]] chatText | ||
|p1= unit: [[Object]] - | |p1= unit: [[Object]] - Unit transmitting message | ||
|p2= chatText: [[String]] - | |p2= chatText: [[String]] - Message to transmit | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
Line 24: | Line 48: | ||
|s2= [side, identity] [[sideChat]] chatText | |s2= [side, identity] [[sideChat]] chatText | ||
|p21= | |p21= side: [[Side]] - Side to which the message will be seen | ||
|p22 | |p22= identity: [[String]] - Class name of one of the identities in CfgHQIdentities. Possible identities in {{arma3}} are: | ||
* "Base" | * "Base" | ||
* "HQ" | * "HQ" | ||
Line 38: | Line 60: | ||
* "IND_G" | * "IND_G" | ||
|p24= chatText: [[String]] - | |p24= chatText: [[String]] - Message to transmit | ||
|r2= [[Nothing]] | |r2= [[Nothing]] | ||
Line 64: | Line 86: | ||
<dt class="note">[[User:Ceeeb|Ceeeb]]</dt> | <dt class="note">[[User:Ceeeb|Ceeeb]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
In ''' | In '''{{ofp}} v1.96''', [[sideChat]] messages can be sent from two abstract sources: "Papa_Bear" and "Base FireFly".</br> 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 <tt>STR_CFG_PAPABEAR</tt> and <tt>STR_CFG_FIREFLYBASE</tt>. ''Example : {{ic|<nowiki>[</nowiki>[[EAST]], "base"] [[sideChat]] "Return to base!"''}}. | ||
</dl> | </dl> | ||
Revision as of 10:03, 15 April 2021
Description
- Description:
- Types text to the side radio channel. Must have assigned "ItemRadio" to see or transmit the messages. 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:
- unit sideChat chatText
- Parameters:
- unit: Object - Unit transmitting message
- chatText: String - Message to transmit
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- [side, identity] sideChat chatText
- Parameters:
- side: Side - Side to which the message will be seen
- identity: String - Class name of one of the identities in CfgHQIdentities. Possible identities in Arma 3 are:
- "Base"
- "HQ"
- "PAPA_BEAR"
- "AirBase"
- "BLU"
- "OPF"
- "IND"
- "IND_G"
- chatText: String - Message to transmit
- Return Value:
- Nothing
Examples
- Example 1:
_soldierOne sideChat "Show this text";
- Example 2:
[west, "HQ"] 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
- Posted on 12 February 12, 2007 - 04:31 (CEST)
- Ceeeb
-
In Operation Flashpoint v1.96, sideChat messages can be sent from two 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!"
.
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.34
- 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