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.
python:
renpy.hide("Toolz")
if in_combat:
ui.layer("interface")
ui.clear()
ui.close()
ui.layer("battlemsg")
ui.clear()
ui.close()
was wondering though if there was a better way to just clear all layers at once with one single command ? Or there's no solution to this except doing what I did ? thanks
Hm I still see them in preferences. I clear them in the load/save, but preferences still shows them. I was using _game_menu_preferences="battleprefs" to do operations before jumping into the normal screen but it never reads that label, is the correct one to use?