sideChat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Fix description)
m (Some wiki formatting)
Line 28: Line 28:
|gr1= Radio and Chat
|gr1= Radio and Chat


|descr= 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]]).
|descr= Types text to the side radio channel. Must have assigned "ItemRadio" to see or transmit the messages.


|s1= unit [[sideChat]] chatText
|s1= unit [[sideChat]] chatText
Line 70: Line 70:
<br><!-- needed for the text to display properly with the float…??? -->
<br><!-- needed for the text to display properly with the float…??? -->


|x4= <code><nowiki>[[</nowiki>[[blufor]], "BLU"], "message"] [[remoteExec]] ["[[sideChat]]"];{{cc|Show message for all players}}</code>
|x4= <code><nowiki>[[</nowiki>[[blufor]], "BLU"], "message"] [[remoteExec]] ["[[sideChat]]"]; {{cc|shows the message to all players}}</code>


|x5= <code>unit [[setGroupID]] ["Cpt. Miller"]; {{cc|changes the group's callsign}}
|x5= <code>unit [[setGroupID]] ["Cpt. Miller"]; {{cc|changes the group's callsign}}
Line 78: Line 78:
}}
}}


<dl class="command_description">
{{Note
|user= Ceeeb
|timestamp= 20070212043100
|text= 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>.


<dt><dt>
Example :
<dd class="notedate">Posted on 12 February 12, 2007 - 04:31 (CEST)</dd>
<code>[<nowiki/>[[EAST]], "base"] [[sideChat]] "Return to base!"</code>
<dt class="note">[[User:Ceeeb|Ceeeb]]</dt>
|game= ofp
<dd class="note">
|version= 1.96
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>

Revision as of 16:29, 2 September 2021

Hover & click on the images for description

Description

Description:
Types text to the side radio channel. Must have assigned "ItemRadio" to see or transmit the messages.
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:
xChat.jpg
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";

Example 4:
[[blufor, "BLU"], "message"] remoteExec ["sideChat"]; // shows the message to all players
Example 5:
unit setGroupID ["Cpt. Miller"]; // changes the group's callsign unit sideChat "Hello ladies!";

Additional Information

See also:
globalChatgroupChatvehicleChatcommandChatcustomChatsystemChatsideRadio

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
Ceeeb - c
Posted on Feb 12, 2007 - 04:31 (UTC)

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!"