sideChat: Difference between revisions
Jump to navigation
Jump to search
m (categorized) |
mNo edit summary |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | unitName '''sideChat''' chatText |= Syntax | ||
|p1= [[Object | |p1= UnitName: [[Object]] |= Parameter 1 | ||
|p2= chatText: [[String]] |= Parameter 2 | |p2= chatText: [[String]] |= Parameter 2 |
Revision as of 23:38, 25 January 2009
Description
- Description:
- Types text to the side 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:
- unitName sideChat chatText
- Parameters:
- UnitName: Object
- chatText: String
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- [ Side, "StringConstant" ] sideChat "chatText"
- Parameters:
- Side
- StringConstant: String
- chatText: String
- Return Value:
- Nothing
Examples
- Example 1:
_soldierOne sideChat "Show this text"
- Example 2:
PAPABEAR=[West,"HQ"]; PAPABEAR SideChat "Hi there";
____________________________________________________________________________________________
Additional Information
- See also:
- Nothing
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!".