Difference between revisions of "GetNumKeysPressed"
Jump to navigation
Jump to search
imported>Quetzilla |
imported>Quetzilla |
||
Line 15: | Line 15: | ||
*[[GetKeyPress]] | *[[GetKeyPress]] | ||
*[[GetNumMouseButtonsPressed]] | |||
<!--[[Category: OBSE Functions]] | <!--[[Category: OBSE Functions]] |
Revision as of 19:40, 29 May 2008
A command for Oblivion Script Extender
Syntax:
(count:long) GetNumKeysPressed
Retrieves the number of keyboard keys currently being pressed.
Notes
- This function will not pick up mouse buttons.
- This function will not pick up 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.