BlzDisplayChatMessage

Parameters
whichPlayer player

The target player will be shown as sender of the message.

recipient integer

Changes the type of chat channel prefix shown. It has no effect on the message's visibility.

  • 0: "All" chat prefix
  • 1: "Allies"
  • 2: "Observers"
  • 3: "Private"
  • 4+: Defaults to private too.
message string

Text to show.

comment

Displays the message in chat as if it were sent by the specified player. The message does not appear in log (F12).

patch

1.31.0.11889

Source
common.j
return type
nothing
Source code
native BlzDisplayChatMessage                       takes player whichPlayer, integer recipient, string message returns nothing