I've got the button as part of the quick menu, and it's set up to not display until called. When clicked, this imagebutton forces a quicksave in a specific slot, and then jumps to a label.
Code: Select all
hbox:
style_prefix "quick"
xalign 0.8
yalign .80
if safeword == "true":
imagebutton:
idle "sw1.png"
hover "sw2.png"
action [QuickSave(1), Jump("safeword")]
alt "Safeword"Simple enough so far, it jumps down to the label just fine and displays text. I've also hidden the quicksave and quickload buttons on the quick menu and the save screen, to keep the quicksave function quarantined and clean.
Code: Select all
label safeword:
$ safeword = "false"
# This will hide the button.
"Then they talk a bit. Get some options of what to do."But my problem comes at the end of all that. I want to have ren'py load that Quicksave slot I specified before.
I've tried so many different options, but none of them are working. I've tried:
Code: Select all
$ QuickLoad(1)Code: Select all
$ renpy.load(quick-1, confirm=False)Code: Select all
$ FileLoad(quick-1, confirm=False)Code: Select all
$ FileLoad(1, page="quick", confirm=False, newest=True)I've tried substituting the actual filename in place of "quick-1" where applicable, but I still get the same NameError.
Is there any way to make this work? And I know, I know, I'd use Autosaves if I could. I'd much rather hide those from the player than take away their quicksave option. So that would be preferred, but my attempts at cracking into the autosave function have been less than stellar.


