KeyDown in Developer Help
|
|
is there any way to determine what key was pressed by a user without defining a specific macro for that key? From what I've seen its not. This would be incredibly usefull for setting up in-game hotkeys without having to code the same thing multiple times for multiple keys, and depending on how it worked possibly even for some kind of on-screen/in-game data entry system
mob/verb F5() set hidden=1 var/Skill2Use=src.HotKeys["F5"];src.UseSkillProc(Skill2Use)
|
I basicaly have to have that exact same code for keys F5-F8 because from what I've seen theres no way to determine which key was pressed
|
George Gough