IsKeyPressed

From the Oblivion ConstructionSet Wiki
Revision as of 10:42, 25 July 2006 by imported>Cid88
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

IsKeyPressed key

Returns true if key is currently pressed down. Key values are stored in Windows header files.

Sample Key IDs

1   Left Mouse Button
32  spacebar
48  0
...
57  9
65  A
...
90  Z
160 left shift
161 right shift
162 left control
163 right control

A longer list can be found here