Search found 4 matches
- Tue Feb 26, 2019 12:50 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How can I disable the "Load" button when there are no existing save files?
- Replies: 6
- Views: 761
Re: How can I disable the "Load" button when there are no existing save files?
up! still need help figuring things out! :C
- Mon Feb 18, 2019 11:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: How can I disable the "Load" button when there are no existing save files?
- Replies: 6
- Views: 761
Re: How can I disable the "Load" button when there are no existing save files?
Oh, I've never noticed that code before lol. Thank you!Imperf3kt wrote: ↑Fri Feb 15, 2019 4:11 pm I'd use Remix's suggestion in conjunction with SensitiveIf
https://www.renpy.org/doc/html/screen_a ... ensitiveIf
That way, the button still shows, but cannot be clicked until at least one save file exists.
- Mon Feb 18, 2019 11:40 am
- Forum: Ren'Py Questions and Announcements
- Topic: How can I disable the "Load" button when there are no existing save files?
- Replies: 6
- Views: 761
Re: How can I disable the "Load" button when there are no existing save files?
if renpy.list_saved_games(): ## at least one save or auto-save has happened Hi! So I tried using this if renpy.list_saved_games(regexp='1', fast=False): textbutton _("LOAD") action ShowMenu("load") else: textbutton _("LOAD") It disables the Load button but I already ha...
- Fri Feb 15, 2019 8:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: How can I disable the "Load" button when there are no existing save files?
- Replies: 6
- Views: 761
How can I disable the "Load" button when there are no existing save files?
I want the player to be unable to access the Load menu if they don't have a save file yet. I've managed to find this topic but it only works for one save / Quicksave files. So far I've managed to do it but it only detects save files for the 1st slot on Page 1 and for the 1st slot on the Quicksave p...