How do I remove my Menu and show only End Game Options when I press "Esc"?

Domireso

Villager
Member
Joined
May 25, 2023
Messages
10
Reaction score
0
First Language
Polish
Primarily Uses
RMXP
I know it requires scripting but I have no clue how to do that.
 

Ms Littlefish

Time Traveling Victorian Vampire
Global Mod
Joined
Jan 15, 2014
Messages
7,957
Reaction score
11,312
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSSx Script Support, thank you!
 

Bex

Regular
Regular
Joined
Aug 2, 2013
Messages
1,987
Reaction score
788
First Language
German
Primarily Uses
RMMZ
Eventcommand: Change Menu Access - should be on Page 3 of the Eventcommands.
I dont know about the second part.

But maybe with Scriptline help: (Those can be used in Eventcommand "Script" on Page3)
Code:
SceneManager.call(Scene_Save)
SceneManager.call(Scene_Load)
SceneManager.exit
SceneManager.call(Scene_Gameover)

SceneManager.call(scene)
# scene = Scene to load. (example - SceneManager.call(Scene_Skill) )
# Scene_Menu, Scene_Item, Scene_Skill, Scene_Status, Scene_Title
# Scene_Save, Scene_Load, Scene_Name, Scene_Debug, etc.

Edit:
When the Game starts you would need to disable Menu acces once.
And activate a Switch.

Than you would need a Common Event on Parallel, with the before mentioned Switch as Condition for running.

The Eventcode would be:
Conditional Branch - Escape Button Pressed -If yes Show Choices: Quit Game or Resume.

In theory this should work, i did not test it.
 
Last edited:

kyonides

Reforged is laughable
Regular
Joined
Nov 17, 2019
Messages
1,756
Reaction score
892
First Language
English
Primarily Uses
RMXP
First of all, forget those RMVX ACE script calls for they won't work in RMXP.

$scene = Scene_End.new

The script call above should do the job unless you need a customized scene script.
 

Latest Threads

Latest Posts

Latest Profile Posts

I haven't check my game DL in a while. So time to see if I get a error 404 message. Because I deleted it due to a lack of space. Or it instantly crashes the second it starts. Or if I end up in some random map because I forgot to reset the start point. Or any combination of them.
ThereseIdleWIP2.gif
Design finished. Onto finishing the entire sprite sheet and alternative colours now
What does it say about you when a mushroom is your best friend?
If a game had a moral-choice system at the beginning 3 chapters where defeating an on-screen encounter grants a "-2" at the end of the level whereas evading it granted "+2" at the end of the chapter, and then each chapter also had a dialogue choice that'd give/take points depending on the answer the player gives, how many points would you expect to gain from the dialogue choices?
Dynamic.png

My next plugin will be:

DYNAMIC SWITCHES! (For RPG MAKER MZ)

What does this plugin allow?

Basically it allows you to create switches that work even though the game is closed.

Example of use:

You can make a system that you can only run a mini game once a day (or an event or whatever you want) and you have to wait 24 hours to play again.

I open thread here...

Forum statistics

Threads
134,799
Messages
1,250,762
Members
177,593
Latest member
lagomofu
Top