Search found 2 matches

by nyankun
Thu Jan 09, 2020 8:16 pm
Forum: Ren'Py Questions and Announcements
Topic: Finding out which scene is currently active
Replies: 2
Views: 390

Re: Finding out which scene is currently active

philat wrote: Thu Jan 09, 2020 9:42 am

Code: Select all

 on "show" action SetVariable("lastscreen", "room1")
That's clever! I didn't know you could run actions as soon as screens are shown, this definitely opens up several possibilities, thanks a lot! :mrgreen:
by nyankun
Thu Jan 09, 2020 6:05 am
Forum: Ren'Py Questions and Announcements
Topic: Finding out which scene is currently active
Replies: 2
Views: 390

Finding out which scene is currently active

Hello! :) I was wondering if there was a way to find out which scene is currently active at any given moment. I'm making an adventure game where the player moves around a series of rooms, each room being a distinct scene, with its objects, characters, etc and it would be great if I could call the ap...