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.
Hi, I'm using a variable called open which is either true or false. This variable is declared at the beginning of the code.
The variable "open" is False by default.
screen doorknob():
tag item
imagebutton:
xalign 0.2 yalign 0.55
idle "doorknob.png"
action If(("open" == True), true = Jump("living"), false = Jump("start")) # Here I'm trying to use the variable "open" but the screen doesn't recognize it.
Is there a way I can call the variable "open" in which the screen would recognize it?