Difference between revisions of "GetNumKeysPressed"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
(→‎Notes: No mouse buttons either)
imported>WereWolf
Line 15: Line 15:
*[[GetKeyPress]]
*[[GetKeyPress]]


[[Category: OBSE Functions]]
 
[[Category: OBSE Input Functions]]
<!--[[Category: OBSE Functions]]
[[Category: OBSE Input Functions]]-->
 
[[Category: Functions]]
[[Category: Functions (OBSE)]]
[[Category: Input Functions]]
[[Category: Input Functions (OBSE)]]

Revision as of 17:34, 14 September 2007

A command for Oblivion Script Extender

Syntax:

GetNumKeysPressed

Retrieves the number of keyboard keys currently being pressed.

Notes

  • This function will not pick up mouse buttons.
  • 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.

See Also