The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: kami130 on July 15, 2007, 04:33:03 AM

Title: ok, srry but one last time
Post by: kami130 on July 15, 2007, 04:33:03 AM
how can I make a pause screen when the player hits enter and the menu at right shift?

please explain this so i can stop bugging people around here for every little thing
Title: Re: ok, srry but one last time
Post by: modern algebra on July 15, 2007, 04:44:20 AM
errrmmm... what?

you don't want a pause screen when you press enter because enter is how you activate events (i.e. talk to people,etc...). Also, what's this other stuff? And don't worry much, we like being bugged. Unless you make 3 request topics a day for the next 4 months like fadark did. I shouldn't be so hard on the poor guy I guess  :o
Title: Re: ok, srry but one last time
Post by: kami130 on July 15, 2007, 05:00:12 AM
well, i've got the space bar as the activation key..the rest of it is just every other problem i run into, i suck at scripting..
Title: Re: ok, srry but one last time
Post by: modern algebra on July 15, 2007, 01:18:20 PM
Well, in scripting, the way to do it is:

if Input.trigger? (Input:: X) (or Input.repeat?, etc... input is a class, you can find it in the help file)

where X is a button (A, B, C, X, Y, Z, L, R, UP, DOWN, RIGHT, LEFT). You can look at the button configuration by pressing F1 during test play

Then you put whatever you want to happen. It sounds like you'd want to make a dummy window cocvering the whol screen with the word Pause in the middle.
Title: Re: ok, srry but one last time
Post by: magic2345 on July 15, 2007, 01:51:54 PM
Well, there's a script for that in Gamebaker....but it's SDK compliant.....
Title: Re: ok, srry but one last time
Post by: kami130 on July 16, 2007, 11:29:09 PM
thanks. i think i can mess around with it a bit to do it