sorry for my bad english, anyway i want know current game's saved slot number in game.
simply, i can click right button and find save data in slots. but it is not. i want input that current save slot number in variable
how can i do this?
how can i know current game saved slot number?
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.
Re: how can i know current game saved slot number?
more details post. first i tried change screens.rpy file's button action in file_picker screen. like this
Varname's default is 1. it means save slot #1. i is save/load slot number. so, i thought when i save or load file, Varname is changed current saved/loaded slot's number(i). but it doesn't work. because that variable(Varname) is not saved in save file. i tried changing order like
it doesn't work too. cause that 'Varname' variable is not saved. same problem.
Code: Select all
button:
action [FileAction(i), SetVariable("Varname", i)] # Varname is temporary name
xfill True
Code: Select all
action [SetVariable("Varname", i), FileAction(i)]
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]