Difference between revisions of "OnKeyDown"
Jump to navigation
Jump to search
Removed a (wrong) reference to GetSecondsPassed
imported>Shademe m (→Notes: Misc. note added) |
imported>QQuix (Removed a (wrong) reference to GetSecondsPassed) |
||
Line 9: | Line 9: | ||
==Notes== | ==Notes== | ||
*Like [[GetGameLoaded | *Like [[GetGameLoaded]], OnKeyDown returns 1 the first time per script, and 0 each subsequent call from the same script, on the same frame. | ||
*Can detect keys disabled via [[DisableKey]] or [[DisableControl]] but not those tapped via [[TapKey]] or [[TapControl]]. | *Can detect keys disabled via [[DisableKey]] or [[DisableControl]] but not those tapped via [[TapKey]] or [[TapControl]]. | ||
:*This function did not detect disabled keys prior to OBSE 13 | :*This function did not detect disabled keys prior to OBSE 13 |