Warning

This wiki is very out of date, and only exists for historical reasons. For more modern information, see the new documentation and cookbook forum.

renpy/doc/reference/functions/renpy.block rollback

From Ren'Py Visual Novel Engine

Jump to: navigation, search

renpy.block_rollback

Function:
renpy.block_rollback ():

Prevents the game from rolling back to before the current statement.

Example

label final_answer:
"Is that your final answer?"
menu:
    "Yes":
        jump no_return
    "No":
        "We have ways of making you talk."
        "You should contemplate them."
        "I'll ask you one more time..."
        jump final_answer

label no_return:
$ renpy.block_rollback()
"So it is. There's no turning back now."


Personal tools