...
This function was added in Warzone 3.2.
Syntax
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
chat(to,message); |
chat(target player, message)
Send a message to target player. Target may also be ALL_PLAYERS or ALLIES. (3.2+ only)
* chat(target, message), for sending chat messages. chat may be ALL_PLAYERS or ALLIES or a specific player number
...
Parameters
Parameter | Type | Mandatory | Description | Game version | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
to | Number, Constant | Who should the message be sent to?
| 3.2 | |||||||||||
message | String | The message to send to the recipient. | 3.2 |
Return value
Not know at present.
Example
Code Block |
---|
chat(ALLIES,"Hello friends"); |
See also
- Chat Scope – constants relating to chat messages
- eventChat() – receive chat messages