View previous topic :: View next topic |
Author |
Message |
Bagne ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA

Joined: 19 Feb 2003 Posts: 518 Location: Halifax
|
Posted: Fri Sep 03, 2010 7:10 am Post subject: Alt button |
|
|
Is there an option to disable Alt as a main-menu button?
I'd like to use esc only, and reserve Alt for key-press stuff. _________________ Working on rain and cloud formation |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Fri Sep 03, 2010 8:39 am Post subject: |
|
|
There's no option, but there's a way to script it: key presses are ignored if the player is suspended. So you can use this onkeypress script if it doesn't cause you other problems:
Code: | plotscript, onkeypress, begin
while (key is pressed (key:alt)) do (
suspend player
wait(1)
resume player
)
end |
(Assuming you haven't enabled double triggering of scripts.) _________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
|