sideChat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ")
Line 61: Line 61:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on 12 February 12, 2007 - 04:31 (CEST)
<dd class="notedate">Posted on 12 February 12, 2007 - 04:31 (CEST)</dd>
<dt class="note">[[User:Ceeeb|Ceeeb]]
<dt class="note">[[User:Ceeeb|Ceeeb]]
<dd class="note">
<dd class="note">

Revision as of 02:18, 30 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Radio and Chat

Syntax

Syntax:
Syntax needed
Parameters:
unitName: Object - unit transmitting message
chatText: String - message to transmit
Return Value:
Return value needed

Alternative Syntax

Syntax:
[side, identity] sideChat chatText
Parameters:
[side, identity]: Array
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";

Additional Information

See also:
See also needed

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