I'm having trouble with some labels.
Mainly, I declare them, but the game doesn't recognise them?
I'm adding the traceback and some screenshots of my script, so maybe you can help me.
This is probably a very silly mistake, but as of today, I can't seem to fix it on my own!
Please help me, if you can.
Thank you so much!
I'm having trouble with labels?
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.
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.
-
- Veteran
- Posts: 277
- Joined: Tue Apr 07, 2009 11:24 am
- Completed: Hierofanía / Next Door Taker/Rhyme or Reason /Hierofanía 2
- Projects: Hierofanía 3 (I swear it's the last one)
- Tumblr: sillyraccoonknight
- Deviantart: ludeshka
- itch: ludeshka
- Contact:
I'm having trouble with labels?
- Attachments
-
- traceback.txt
- (1001 Bytes) Downloaded 89 times
- PyTom
- Ren'Py Creator
- Posts: 16097
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: I'm having trouble with labels?
Did you start a new game after adding the variable? If you loaded from a save, you might not have executed the code that defines the variable.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: I'm having trouble with labels?
Besides the variable being defined or not, your indentation is all out of whack. Keep the indentation uniform throughout -- i.e. each level of indentation should be the same amount of spaces. By convention, it's usually four.
Who is online
Users browsing this forum: No registered users