documentation index ◦ reference manual ◦ function index
Function: | renpy.scan_saved_game | (name): |
This scans a single savegame, and returns information about it. If a savegame with the filename name does not exist, this function returns None. Otherwise, it returns a triple consisting of:
# Load the quick save if it's less than five minutes old. python hide: import time data = renpy.scan_saved_game("quicksave") if data and data[2] + 300 > time.time(): renpy.load("quicksave")