BlzDisplayChatMessage
- Parameters
whichPlayer playerThe target player will be shown as sender of the message.
recipient integerChanges 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 stringText 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 (suggest an edit or discuss on Github)
- return type
nothing- Source code
native BlzDisplayChatMessage takes player whichPlayer, integer recipient, string message returns nothing