And then when I click ignore it skips to the scene I want it to go to anyway?!While running game code:
File "game/script.rpy", line 566, in script
menu:
File "game/script.rpy", line 573, in python
"Ask the person in the next seat." if ask:
NameError: name 'ask' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Users\Anita\Documents\Games\PC\VN\renpy-6.12.1\renpy\execution.py", line 261, in run
File "C:\Users\Anita\Documents\Games\PC\VN\renpy-6.12.1\renpy\ast.py", line 1197, in execute
File "C:\Users\Anita\Documents\Games\PC\VN\renpy-6.12.1\renpy\exports.py", line 414, in menu
File "C:\Users\Anita\Documents\Games\PC\VN\renpy-6.12.1\renpy\python.py", line 997, in py_eval
File "game/script.rpy", line 573, in <module>
NameError: name 'ask' is not defined
What does it mean by not 'defined'?! =.=
By the way, this is what I put and when I use it:
Then when I wanted to use it...menu:
"Sit down anyway.":
$ sit = True
y "Oh well. I'll sit down anyway."
jump sit
"Ask the person in the next seat.":
$ ask = True
y "I suppose I should ask someone."
jump ask
I have an 'init:' thing at the top of the script (if it's meant to go there >_> Bear with me, first time using Ren'Py for a actual project. Used to use Novelty, still am, but I wanted to try this out )menu:
"Wait until Sensei arrives":
"I should wait until Sensei arrives."
jump senarrive
"Sit down anyway." if sit:
"I may as well...I mean. Seats haven't been assigned yet have they?"
jump sit1
"Ask the person in the next seat." if ask:
"I decided to ask the person sitting in the next seat."
jump ask1