Difference between revisions of "OnKeyDown"

Jump to navigation Jump to search
3 bytes removed ,  12:04, 14 October 2012
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]] and [[GetSecondsPassed]], this returns 1 the first time per script, and 0 each subsequent call (from the same script).
*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  
Anonymous user

Navigation menu