Ren'Py Removing multiple screens at once

TastyGames

Newbie
Mar 4, 2020
20
103
Hi all.

Is there an obvious way to remove multiple screens at once, rather than using multiple 'Hide' commands?

The code at the moment:

Code:
screen continuebutton:
    imagebutton idle "gui/continue.png" hover "gui/continue_hover.png" xpos 1680 ypos 850 action [ Jump("hotelroomlook1"), Hide("screenbase", Hide("phone_base") ]
Thanks for the help!
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,318
15,208
Is there an obvious way to remove multiple screens at once, rather than using multiple 'Hide' commands?
Not really.

In the same times, I'm not really sure that you'll remove many screen with this : [/CODE]action [ Jump("hotelroomlook1"), Hide("screenbase", Hide("phone_base") ][/iCODE]

The actions are proceeded in their order of appearance, and you jump somewhere else before everything can be done.


But my brain isn't totally working recently, so I can be wrong.
 

TastyGames

Newbie
Mar 4, 2020
20
103
Your brain is absolutely fine - you're absolutely right, it didn't work at all. Instead I used hide screen(s) in the script after the label was called.