Ok i thought of this tower defense map and it would be needed of text euds.
when i make a suppley depot i can say:
mmm for 3 marines
mmg for 2 marines and 1 ghost
mgg for 1 marine and 2 ghost
ggg for 3 ghost
ggf for 2 ghost and 1 firebat
gff for 1 ghost and 2 firebat
fff for 3 firebat
ffm for 2 firebat and 1 marine
fmm for 1 firebat and 2 marine
could you help me on what the triggers would be?
This is really not that practical, unless you can manage to get the players all have the same name length (unless you wanted to use hundreds of triggers for every combination..) and then on top of it, when they have the same length I don't think you can tell which player said it. The only way to make this not buggy is to make it a 1 player map which is meant ot be played on battle.net.
If you are doing that (which you probably won't) it would be the easiest to make them have 6 characters in their name (then bytes 1-8 are 'asdfgh :' asdfgh being the players name) so you would only need to detect bytes 9-12. Then you would just put in whichever characters, then repeat each trigger for every line (unless you want them to not be able to do it when any text message appears)