groupChat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|GROUPCHAT]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|GROUPCHAT]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|GROUPCHAT]]
[[Category:Scripting Commands ArmA|GROUPCHAT]]


| ofp |= Game name


<h2 style="color:#000066"> '''''unit'' groupChat ''chatText'''''</h2>
|1.00|= Game version


|arg= global |= Arguments in MP


'''Operand types:'''
|eff= local |= Effects in MP
____________________________________________________________________________________________


'''unit:''' [[Object]]<br>
| Make a unit send a text message over the group radio channel. |= Description
'''chatText:''' [[String]]
____________________________________________________________________________________________


'''Type of returned value:'''
| unit '''groupChat''' text |= Syntax


[[Nothing]]
|p1= unit: [[Object]] |= Parameter 1


'''Compatibility:'''
|p2= text: [[String]] - the message that should be sent |= Parameter 2


Changed in version '''1.34'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>soldierOne groupChat "Show this text"</pre> |= Example 1
____________________________________________________________________________________________


'''Description:'''
| [[globalChat]], [[sideChat]], [[vehicleChat]] |= See also


Type text to group radio channel.<br>
}}
'''Note:''' This function only types text to the list, it does not broadcast the message.<br>
If you want the message to show on all computers, you have to execute it on them.


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Example:'''
<!-- Note Section END -->
</dl>


soldierOne '''groupChat''' "Show this text"
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|GROUPCHAT]]
[[Category:Scripting Commands OFP 1.96|GROUPCHAT]]
[[Category:Scripting Commands OFP 1.46|GROUPCHAT]]
[[Category:Scripting Commands ArmA|GROUPCHAT]]

Revision as of 00:26, 2 August 2006

Hover & click on the images for description

Description

Description:
Make a unit send a text message over the group radio channel.
Groups:
Uncategorised

Syntax

Syntax:
unit groupChat text
Parameters:
unit: Object
text: String - the message that should be sent
Return Value:
Nothing

Examples

Example 1:
soldierOne groupChat "Show this text"

Additional Information

See also:
globalChatsideChatvehicleChat

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

Bottom Section