IsKeyPressed

From the Oblivion ConstructionSet Wiki
Revision as of 10:30, 25 July 2006 by imported>DragoonWraith (OBSE)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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