globalChat

From Bohemia Interactive Community
Revision as of 04:41, 27 August 2007 by Mikero (talk | contribs)
Jump to navigation Jump to search

{{Command|= Comments ____________________________________________________________________________________________

| ofp |= Game name

|1.00|= Game version

|arg= global |= Arguments in MP

|eff= local |= Effects in MP ____________________________________________________________________________________________

| Make a unit send a text message over the global radio channel. |= Description ____________________________________________________________________________________________

| Unit globalChat "text" |= Syntax

|p1= Unit: [[Object|Person] or [[Object|Vehicle] |= Parameter 1

|p2= text: String - the message that should be sent |= Parameter 2

| Nothing |= Return value ____________________________________________________________________________________________

|x1=

soldierOne globalChat "Show this text"

|= Example 1

____________________________________________________________________________________________

| sideChat, groupChat, vehicleChat |= See also

}}

Notes

Ceeeb
In OFP 1.96, this command can be used by a Game_Logic unit, which will result in the text being displayed on screen without any indication of the side of radio source, or quotation marks. For example : gamelogic1 globalchat "hello world" will create the text hello world in the radio log.

Bottom Section