I was searching for a way to hold a key, like, press down and only press up when I command it to again, keyevent() doesn't fullfill my purpose 'cause it presses only once or repeatedly by using loop structures.
Why I want to do that? I think it's rather strange to press multiple times the same hotkey if you are just filling your mana (While training magic level), so I'd like to have that key pressed and only released when my mana is full (that I can figure out how to do)
Is there a function or some lua stuff to keep a key pressed down?
Thanks! Cya!