Objects Not Defined? NameError [Solved]
Posted: Fri Jun 01, 2018 5:40 pm
Alrighty, I've done everything that I could think of, and I am still receiving this error:
I am not entirely sure why this is occurring, as I have defined "maki_eventone_done" at the beginning of the script:
Here is where the error occurs:
Thanks in advance for the help <3
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 1858, in script
File "game/script.rpy", line 1858, in <module>
NameError: name 'maki_eventone_done' is not defined
Code: Select all
$ maki_eventone_done = False
$ sasha_eventone_done = False
$ opal_eventone_done = False
$ lye_eventone_done = False
$ joseph_eventone_done = FalseCode: Select all
label end_daytwo:
player_name "Alright, everybody, the day is almost over! Time to share what we found."
if maki_eventone_done == True:
"Sample Text"