Function BlzDisplayChatMessage

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

    Parameters

    • whichPlayer: Player<PlayerEventMap>

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

    • recipient: number

      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.

    Returns void

    Patch

    1.31

Generated using TypeDoc