SC2Mapster Wiki
Advertisement

Game-Chat And Console[ | ]

Chat Message[ | ]

GUI[ | ]

Game - Player p types a chat message containing s, matching exact|Exactly/Partially

Galaxy Code[ | ]

void TriggerAddEventChatMessage (trigger t,int player,string inText,bool exact)

Description[ | ]

This event fires when the specified chat message is typed by the specified player. If exact match is selected, then the string the player enters must be identical to the specified string for the event to fire. If partial match is selected, then the event will fire if the player enters the specified string plus any number of additional characters after it. Use the "Chat String" function to refer to the message being entered. Use "Triggering Player" to get the player that typed the message.

Parameters[ | ]

  • trigger t
  • int p
    • Name: Player
    • Limits: -1,15
  • string s
    • Name: Text
  • preset exact
    • Preset: Chat Match Option
    • Name: Exact
Advertisement