Checking for pressed keyboard key.

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
So there is no way inside a callback function to get the pressed key?
 

T.s.e

Wish I was old and a little sentimental
Reaction score
133
> So there is no way inside a callback function to get the pressed key?

Nope, but I don't really see the point of having a callback to check what key was pressed, when it's already in the event.
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
I worked my way around it. The reason was that if you pressed wrong arrow key, the spell would finish and if you pressed the right one it would just randomize a new one.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top