Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

disabling the menu

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
The Drizzle
Who is the Drizzle?




Joined: 12 Nov 2003
Posts: 432

PostPosted: Wed Mar 08, 2006 7:52 pm    Post subject: disabling the menu Reply with quote

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
View user's profile Send private message AIM Address
Moogle1
Scourge of the Seas
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 15 Jul 2004
Posts: 3377
Location: Seattle, WA

PostPosted: Wed Mar 08, 2006 9:23 pm    Post subject: Reply with quote

suspend player works, but you have to manually enable everything besides textbox advancing.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
Mike Caron
Technomancer




Joined: 26 Jul 2003
Posts: 889
Location: Why do you keep asking?

PostPosted: Wed Mar 08, 2006 10:00 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Moogle1
Scourge of the Seas
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 15 Jul 2004
Posts: 3377
Location: Seattle, WA

PostPosted: Wed Mar 08, 2006 10:07 pm    Post subject: Reply with quote

*shrug* Dunno what kind of title screen he wants.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Sat Mar 11, 2006 7:38 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Sat Mar 11, 2006 8:39 pm    Post subject: Reply with quote

I never realized that worked! You are right! How clever and simple.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
The Drizzle
Who is the Drizzle?




Joined: 12 Nov 2003
Posts: 432

PostPosted: Sun Mar 12, 2006 3:16 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group