documentation index ◦ reference manual ◦ function index
Function: | renpy.call_in_new_context | (label): |
This code creates a new context, and starts executing code from that label in the new context. Rollback is disabled in the new context. (Actually, it will just bring you back to the real context.)
Use this to begin a second interaction with the user while inside an interaction.
init: def invoke_game_menu(): renpy.play(config.enter_sound) renpy.call_in_new_context('_game_menu')