• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Help] Chat System

Status
Not open for further replies.
Level 26
Joined
Aug 18, 2009
Messages
4,099
I tried to use Player chat message, but don't know what should Text i put there.

The Player - Chat Message event is alright. You should put the text line in there that shall be able to fire the trigger. If you want any chat message to run the trigger you can leave the string field blank and instead change the other parameter to "part of a string", "no exact match" or how it is called.

You can use Event Response - Entered Chat String (string function) in the conditions and actions then to get what the player has actually typed in.
 
Level 5
Joined
Feb 24, 2009
Messages
110
If you want any chat message to run the trigger you can leave the string field blank and instead change the other parameter to "part of a string", "no exact match" or how it is called.

  • Player - Player 1 (Red) types a chat message containing <Empty String> as A substring
that's how it's called ^^

EDIT:
I don't know much about the editor, but I think that you could try to do something like thi :
a)Force all players to talk by private chat with an observer or non-human-player, therefor, no one could read what they type (instead of "To All"/ "To Allies"), no idea how to do that.
b)Use that trigger as event
c)save in a string-variable the chat message
d)display variable as floating text with offset at your unit
 
Status
Not open for further replies.
Top