Difference between revisions of "IsKeyPressed"
Jump to navigation
Jump to search
See Also IsKeyPressed2
imported>DragoonWraith (adding Enter) |
imported>DragoonWraith (See Also IsKeyPressed2) |
||
Line 4: | Line 4: | ||
IsKeyPressed key | IsKeyPressed key | ||
Returns true if key is currently pressed down. Key values are stored in Windows header files. | Returns true if key is currently pressed down. Key values are stored in Windows header files, as opposed to [[IsKeyPressed2]]'s DirectX scancodes. | ||
==Sample Key IDs== | ==Sample Key IDs== | ||
Line 75: | Line 75: | ||
set curKey to <keyCode> | set curKey to <keyCode> | ||
endif</pre> | endif</pre> | ||
==See Also== | |||
*[[IsKeyPressed2]] | |||
[[Category: OBSE Functions]] | [[Category: OBSE Functions]] | ||
[[Category: OBSE Player Functions]] | [[Category: OBSE Player Functions]] |