Page 1 of 1

Remember if player have seen previous bg or text

Posted: Fri Feb 07, 2020 9:24 am
by jamesm80
How do I do to put in my code if you have seen that background before? or certain line of text? Without using the variable statement.
I think I read time ago that it's was possible. Been looking for hours but I don't even know if I'm looking the right terms.

Something like if bg is been seen, or unlocked do this or the other.

Re: Remember if player have seen previous bg or text

Posted: Fri Feb 07, 2020 12:29 pm
by rames44
For images, there is

https://www.renpy.org/doc/html/displayi ... seen_image

You can test whether a label has been executed with

https://www.renpy.org/doc/html/label.ht ... seen_label

But I don’t think there’s a comparable way to test for a specific line.

Re: Remember if player have seen previous bg or text

Posted: Fri Feb 07, 2020 5:24 pm
by jamesm80
Thank you so much! That was exactly what I was looking for!

You da best!