Originally posted by Seytra
The light cannot go on, because you\'ll not know whom the person is talking to. In /tell this could be done, but not in chat, because it\'s a broadcast thing.
There is 3 ways of speaking : /tell, /say, /shout. Currently, when ENTER is pressed, the command line is analyzed. Then PS displays the corresponding message in chat window of people who can hear it.
What I suggest would be to detect when SPACE is pressed for the first time too and to analyze the beginning of the line at this instant: it would make the light blink once in chat window of people who will be able to hear the message at the end. Then, each time a space typed (or each 10 typed letters), the light blinks once again in chat window of people still close enough. At the end, when ENTER is pressed, the message is written for people still within earshot as usual.
Also, with this system, if someone gives up writing his message, there won\'t be any problem.
Also posted by Seytra
Furthermore, the chat windows contents scroll past quickly, there won\'t necessarily be any name left that you are interested in to provide the light.
The light would be only to indicate that someone is currently speaking within earshot. You may overhear something that is not for you, that would be the same.
Also, the light shouldn\'t be attached to a particular name (too complex, imho) but it should be only a auditive sense visualization.
With this system also, if several people are speaking at the same time nearby, the light will naturally blink faster. That can make the player feel the brouhaha in the tavern...