IsKeyPressed
Revision as of 20:51, 25 July 2006 by imported>Scruggs (no worky during messagebox)
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
Notes
- This function doesn't return a value while a messagebox is being displayed, presumably because input is switched over to the messagebox.