Difference between revisions of "DisableControl"
Jump to navigation
Jump to search
Notes
imported>Haama (Removed bit about bug, no longer there) |
imported>Haama (Notes) |
||
|
DisableControl 5
This disabled the Activation keyboard and mouse keys, if there are any.
==Notes==
*The keys disabled by DisableControl will continue to work in the Inventory and Container Menus, but not the Controls Menu (not sure about other menus).
*When the player switches controls, the new control will need to be disabled. Also, the original key will need to be enabled.
<pre>DisableControl 5
...
begin MenuMode 1021 ;Controls Menu
if (TurnOffKeys == 0)
set TurnOffKeys to 1
EnableControl 5
endif
end
begin MenuMode 1015 ;Options Menu
if TurnOffKeys
set TurnOffKeys to 0
RefreshControlMap
DisableControl 5
endif
end</pre>
==Control IDs==
| |||