Difference between revisions of "EnableControl"
Notes
imported>Haama (Removed bit about bug, no longer there) |
imported>Haama (Notes) |
||
|
EnableControl 5
Re-enables the Activation keyboard and mouse keys, if there are any.
==Notes==
*If the player changes the key(s) affiliated with the control, this will still enable the original key(s), and not the new key(s). Here's an example script to keep the correct Activate key(s) disabled:
<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==
| |||