This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "OnControlDown"

Jump to navigation Jump to search
18 bytes added ,  23:31, 25 November 2007
Extra info on pressing both keys at the same time
imported>Haama
(Created)
 
imported>Haama
(Extra info on pressing both keys at the same time)
Line 6: Line 6:
  (controlPressed:bool) OnControlDown whichControl:short
  (controlPressed:bool) OnControlDown whichControl:short


Registers a script as a listener for input events. Returns 1 for one frame when the key or mouse button assigned to the Control ID is pressed. If used by multiple scripts, each script will be informed of the Control key's state. Will not return true again until the key is released and then pressed again.
Registers a script as a listener for input events. Returns 1 for one frame when the key and/or mouse button assigned to the Control ID is pressed. If used by multiple scripts, each script will be informed of the Control key's state. Will not return true again until the key (and/or keys) is released and then pressed again.


==Control IDs==
==Control IDs==
Anonymous user

Navigation menu