OnKeyPress()
Ie.. when the user presses a certain key.
I am trying to do one of two things to make up for this lack.
Either find a way to detect keyboard events and respond to them.
Or set up a timer to poll every so often to check for an outside event in a program.
The reason was wondering this is because I have a program that runs outside skyrim to trigger events inside the game. (See my signature)
Integrating the outside program into Skyrim directly is pretty much a near impossible task as it is a voice recognition engine.
Essentially I need some way to tell Skyrim, "Hey the user shouter, and also, here's the word(s) he shouted."
Right now I do this by using script dragon and c++ to read the contents of hidden window.
Short Version
Any input on how to do a KeyBoardEvent or a TimedPoll using papyrus.
(Sadly, I always seem to ask questions that either are incredibly stupid or no one knows how to answer.)
