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 "DisableControl"

Jump to navigation Jump to search
570 bytes added ,  23:12, 25 November 2007
Notes
imported>Haama
(Removed bit about bug, no longer there)
imported>Haama
(Notes)
Line 11: Line 11:
  DisableControl 5
  DisableControl 5
This disabled the Activation keyboard and mouse keys, if there are any.
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==
==Control IDs==
Anonymous user

Navigation menu