GetNumKeysPressed
Revision as of 16:49, 3 August 2008 by imported>Quetzilla (previous information was incorrect)
A command for Oblivion Script Extender
Syntax:
(count:long) GetNumKeysPressed
Retrieves the number of keyboard keys currently being pressed.
Notes
- This function will not count mouse buttons. Use GetNumMouseButtonsPressed instead.
- This function will count keys disabled with DisableKey or DisableControl.
- Most keyboards can only keep track of a limited number of keys, and may return incorrect results for certain combinations of keys. This function will always accurately reflect how many keys direct input, and hence oblivion, can see as being pressed, but may not always reflect what the player is actually doing.