Search found 2 matches

by Gollier
Tue Mar 08, 2011 3:17 pm
Forum: Ren'Py Questions and Announcements
Topic: NameError traceback occuring on if statements.
Replies: 2
Views: 1104

Re: NameError traceback occuring on if statements.

Long answer: you're not initializing the value of choice5, and because it's only declared mid-game (and only on certain routes), there's the chance you'll run into the situation in which you attempt to access a variable that wasn't defined anywhere along the route you took. I thought it might've be...
by Gollier
Tue Mar 08, 2011 1:59 pm
Forum: Ren'Py Questions and Announcements
Topic: NameError traceback occuring on if statements.
Replies: 2
Views: 1104

NameError traceback occuring on if statements.

So, I'm only a week into using Renpy, and one of the things I'm working on features a system where the game is supposed to remember choices you make to influence the game. However, I've been having trouble in getting the game to recognize the python script I set up earlier. Here's the traceback text...