View Single Post
Old 04-04-2010, 04:26 PM   #14
Element of Water
Element of Water's Avatar
Join Date: Mar 2009
Posts: 147

Submissions (2)

Element of Water is on a distinguished road (18)


Great that it's finally out!

Forgive me if I'm wrong, but this doesn't seem to give any way of telling if the key is pressed, released or held in the key event. Doesn't that make the key events pretty much useless?

EDIT: Sorry, after looking at the source code for UserInputAPI I realised the "integer key" parameter of TriggerRegisterKeyEvent means down, up or held. I thought it just meant the key to detect, but it seems all keys are detected. You could have made it clearer by giving it a better parameter name...
Element of Water is offline   Reply With Quote