The target player will be shown as sender of the message.
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.
Text to show.
Displays the message in chat as if it were sent by the specified player. The message does not appear in log (F12).
- return type
- Source code
native BlzDisplayChatMessage takes player whichPlayer, integer recipient, string message returns nothing