|
Hey guys,
I want my players to be able to use an Edit Box Dialog Item to chat, however, I stumbled upon the issue that there is no event that is triggered when a player presses the Enter key while having an Edit Box highlighted. When using the "UI - Player Any Player presses Enter key Down with shift Allow, control Allow, alt Allow" event, it doesn't trigger. When using the "Dialog - Any Dialog Item is used by Player Any Player with event type Changed Text" event, it doesn't trigger. Is there any way of getting the Enter key while the player has an Edit Box highlighted? For now I'll use a button to get my players to send the chat, but I'd rather have it trigger on the Enter key. |
|
I have tried to hack around that limitation a few times and as far as I can tell it's just not possible.
What is the reason you want to do it? Are you possibly trying to mimic the normal in-game chat box so you can filter messages for commands without having them appear on the screen to everyone?
Edited by jhawƙ on 08/01/2012 18:09 GMT
|
Threats of violence. We take these seriously and will alert the proper authorities.
Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.
Harassing or discriminatory language. This will not be tolerated.