View previous topic :: View next topic |
Author |
Message |
The Drizzle Who is the Drizzle?

Joined: 12 Nov 2003 Posts: 432
|
Posted: Wed Mar 08, 2006 7:52 pm Post subject: disabling the menu |
|
|
Is there anyway to disable the menu key temporarily? I'm trying to make a custom title menu and I don't want esc or alt to bring up the menu. Any tips? _________________ My name is...
The shake-zula, the mic rulah, the old schoola, you wanna trip? I'll bring it to yah... |
|
Back to top |
|
 |
Moogle1 Scourge of the Seas Halloween 2006 Creativity Winner


Joined: 15 Jul 2004 Posts: 3377 Location: Seattle, WA
|
Posted: Wed Mar 08, 2006 9:23 pm Post subject: |
|
|
suspend player works, but you have to manually enable everything besides textbox advancing. _________________
|
|
Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
Posted: Wed Mar 08, 2006 10:00 pm Post subject: |
|
|
Moogle1 wrote: | suspend player works, but you have to manually enable everything besides textbox advancing. |
Ehh, what is there to enable? You would need to manually script everything, but since it's a title screen, you more or less just need to check for keys being pressed. _________________ I stand corrected. No rivers ran blood today. At least, none that were caused by us.
Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ |
|
Back to top |
|
 |
Moogle1 Scourge of the Seas Halloween 2006 Creativity Winner


Joined: 15 Jul 2004 Posts: 3377 Location: Seattle, WA
|
Posted: Wed Mar 08, 2006 10:07 pm Post subject: |
|
|
*shrug* Dunno what kind of title screen he wants. _________________
|
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Sat Mar 11, 2006 7:38 pm Post subject: |
|
|
Actually, it's not necessary to script anything yourself that you might disable with suspend player. Because the script interpreter runs before anything else, you can selectively block any key you want:
Code: | script, onkeypress handler, begin
if (key is pressed(key:esc), or, key is pressed(key:alt)) then (
suspend player
wait(1)
resume player
)
end |
_________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Sat Mar 11, 2006 8:39 pm Post subject: |
|
|
I never realized that worked! You are right! How clever and simple. |
|
Back to top |
|
 |
The Drizzle Who is the Drizzle?

Joined: 12 Nov 2003 Posts: 432
|
Posted: Sun Mar 12, 2006 3:16 pm Post subject: |
|
|
That worked perfectly! Thanks a lot. _________________ My name is...
The shake-zula, the mic rulah, the old schoola, you wanna trip? I'll bring it to yah... |
|
Back to top |
|
 |
|