Disabling save until certain parts help?
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- LolitaOfJustice
- Newbie
- Posts: 3
- Joined: Tue Jul 25, 2017 3:30 pm
- Tumblr: lolitaofjustice
- Contact:
Disabling save until certain parts help?
I tried to find another topic with this but I didn't have much luck, maybe I was looking too much into it. Anyways. I have a question in regards to code. I want to disable the save button from the bottom of the game and when you right click/hit esc UNTIL a certain point in the game. You know how in some visual novels, the game will give you a save prompt of "would you like to save" and then you hit yes/no and it saves etc, and it keeps doing that at certain points? I wanna do that in my game but I can't figure out how to code it. Basically I don't want the players to have the option to save whenever they want, only at certain points. Is there a line of code I can put at those certain points that would enable and disable save based on the circumstances? Thanks in advance!
Hi-hi! It's me the lolita of justice! Ready to bring justice everywhere! ^u^
- vollschauer
- Veteran
- Posts: 231
- Joined: Sun Oct 11, 2015 9:38 am
- Github: vollschauer
- Contact:
Re: Disabling save until certain parts help?
Then remove or disable the save button and change
to whatever you prefer to show up ...when you right click/hit ESC
https://www.renpy.org/doc/html/store_va ... enu_screen
And at your certain point's you can show the save dialog screen ....
Code: Select all
_game_menu_screen = "save"
https://www.renpy.org/doc/html/store_va ... enu_screen
And at your certain point's you can show the save dialog screen ....
Who is online
Users browsing this forum: Bing [Bot]