Difference between revisions of "EnableControl"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Notes on bug)
imported>Haama
(Removed bit about bug, no longer there)
Line 10: Line 10:


'''Example'''
'''Example'''
GetControl 0 ;See [[EnableControl#Notes|Notes]] for explanation
  EnableControl 5
  EnableControl 5
Re-enables the Activation keyboard and mouse keys, if there are any.
Re-enables the Activation keyboard and mouse keys, if there are any.
==Notes==
*This function currently has a bug and may cause a crash in-game. To get around it, use another [[EnableControl#See_Also|Control Input function]] (except for [[DisableControl]]) before using it.


==Control IDs==
==Control IDs==

Revision as of 21:57, 25 November 2007


A command for Oblivion Script Extender

Syntax:

(nothing) EnableControl whichControl:short

Enables the key and mouse button for a control disabled with DisableControl.


Example

EnableControl 5

Re-enables the Activation keyboard and mouse keys, if there are any.

Control IDs

Forward 0
Back 1
Slide Left 2
Slide Right 3
Attack 4
Activate 5
Block 6
Cast 7
Ready Weapon 8
Crouch/Sneak 9
Run 10
Always Run 11
Auto Move 12
Jump 13
Toggle POV 14
Menu Mode 15
Rest 16
Quick Menu 17
Quick1 18
Quick2 19
Quick3 20
Quick4 21
Quick5 22
Quick6 23
Quick7 24
Quick8 25
QuickSave 26
QuickLoad 27
Grab 28

See Also