save problem about empty slots

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
yuuri88
Newbie
Posts: 20
Joined: Fri Aug 02, 2019 11:58 am
Contact:

save problem about empty slots

#1 Post by yuuri88 »

Need to ask.I need to save game at an empty save slots . How do I code this. I try to use renpy.save(empty slot, save_name)
and it can't work.
I try to find it at lemmasoft but confuse more

I need to let 1-1 change to a empty slots


init python:
def purge_saves():
saves = renpy.list_slots()
for save in saves:
renpy.take_screenshot()
renpy.save("1-1", save_name)
return

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: save problem about empty slots

#2 Post by isobellesophia »

yuuri88 wrote: Sun Sep 01, 2019 3:52 am Need to ask.I need to save game at an empty save slots . How do I code this. I try to use renpy.save(empty slot, save_name)
and it can't work.
I try to find it at lemmasoft but confuse more

I need to let 1-1 change to a empty slots


init python:
def purge_saves():
saves = renpy.list_slots()
for save in saves:
renpy.take_screenshot()
renpy.save("1-1", save_name)
return

What are you trying to do? Are you trying to save a file slot, or naming your saves?
I am a friendly user, please respect and have a good day.


Image

Image


yuuri88
Newbie
Posts: 20
Joined: Fri Aug 02, 2019 11:58 am
Contact:

Re: save problem about empty slots

#3 Post by yuuri88 »

I'm trying to save a file slot. Not just a set slot ,but a slot which can be in sequence of the save list. I don't want this save can overwrite a used save slot.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot]