Rick Posted August 10, 2017 Share Posted August 10, 2017 I don't recall and Window doc doesn't seem to show this, but was there a way to get what key was hit vs having to loop over them all to check KeyDown()? This is handy for allowing uses to type in a textbox. Quote Link to comment Share on other sites More sharing options...
Rick Posted August 10, 2017 Author Share Posted August 10, 2017 Is that how the new GUI system does it? I swear Josh added some function that returned the key for his textbox GUI but I don't have access to any LE code right now. Quote Link to comment Share on other sites More sharing options...
Rick Posted August 10, 2017 Author Share Posted August 10, 2017 So his GUI has KeyDown and KeyUp events and one blog talks about KeyChar events. Does anyone know if these events are called when attached to any script? Even entity scripts? This would certainly help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.