logic question about the rollback renpy command

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
User avatar
deltadidirac
Regular
Posts: 123
Joined: Fri Nov 30, 2018 5:00 am
Projects: Artworks and Comics
Tumblr: deltadidirac
Deviantart: Deltadidirac67
Location: Europe
Contact:

logic question about the rollback renpy command

#1 Post by deltadidirac » Sun Nov 24, 2019 6:56 am

hi all,

I would understand correctly what mean this command because I'm not sure:

Code: Select all

renpy.suspended_rollback (True/False)
I clarify now...
if I use this command at the start of a generic label... :

Code: Select all

label generic:
        $ renpy.suspended_rollback(True)
        scene bg 1                                               ### this could be add or not
        "......."                                                    ### this could be add or not
        show screen alfa
        calls creen beta
        
############# and in another point , label or screen after I unblock the command with:

$ renpy.suspended_rollback(False)
1) it mean this example that all actions, or locations or history etc... stop and freeze at the moment before start the "generic label" (True), and after restart with the second command (False)?
2) or it mean simply that you can't go back with your mouse (True), untill you give the second command (False)?

I would like understand thery well this, because if the right answer is the 1) , so this command it is what I need;

on contrary I would like to know how block, or stop, for a moment, all the "memory" of renpy about the actions, locations, etc... before start the "generic label"; and after, when I need, write a command to restart this "memory" in another label or screen.

thanks

Post Reply

Who is online

Users browsing this forum: Ocelot