IsControlDisabled

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(isDisabled:bool) IsControlDisabled whichControl:short

Returns 1 if thecontrol has been disabled by a call to DisableControl. Note that this only keeps track of calls to DisableControl and EnableControl; it does not check if the disabled state of the key or mouse button has been affected by DisableKey.


Input Control Codes

The following values are shorts that are used and/or returned by this function, as indicated by its Syntax. These values correspond to the listed control:

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