Hi, I am new to this whole thing and I think I'm going to like it, if only I could figure it out. XD
I have a small script and I keep getting the same error. Mind you, I've had this program for all of two days, but I've read and re read the tuts and I stil have no idea what I am doing. *Falls over*
I get this message. . .
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
On line 13 of C:\Documents and Settings\Administrator\Desktop\renpy-6.0.0-full\renpy-6.0.0\TheLab/game/script.rpy: end of line expected.
j"Lets talk.":
^
Ren'Py Version: Ren'Py 6.0.0a
With this script. . .
init:
$ t = Character('TTSnim', color="#cc66cc")
$ j = Character('Joe', color="#66cc66")
label start:
t"Hay Joe!"
j"Hi there."
t"What do you want to do to day?"
menu:
j"Lets talk.":
jump talk
j"Lets play a game.":
jump game
label talk:
t"What would you like to talk about?"
j"you pick a topic."
label game:
t"What game should we play?"
j"Can we play a word game?"
t"That was fun!"
Hi all, I've a question.
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.
Before the real experts write something, I'd suggest having a space between the character and the spoken words.
Instead of:
I'd write:
That little arrowhead in the error log was pointing to that place.
Also, the indentation is important I think.
is not the same as
I think
Instead of:
Code: Select all
j"Hello!"
Code: Select all
j "Hello!"
Also, the indentation is important I think.
Code: Select all
j "Hello"
Code: Select all
j "Hello"
-
- Veteran
- Posts: 338
- Joined: Mon Mar 06, 2006 2:27 am
- Completed: see sig below
- Projects: always; never not
- Organization: Team BG
- Location: PA, USA
- Contact:
You're trying to include a Character object with a menu choice. While Ren'Py allows you to use Characters with the menu's caption, it does not with the actual choices. In order to fix it, just remove the 'j' from in front of the choices.
Changing your choices to those should work.
Code: Select all
"Lets talk.":
"Lets play a game.":
http://www.twitter.com/drakeynv
The Compendium of Drake:
Starlit Sky ~ Songs of Araiah ~ Mirai Imouto ~ Temple Glen ~ Fuyu no Tabi
The Compendium of Drake:
Starlit Sky ~ Songs of Araiah ~ Mirai Imouto ~ Temple Glen ~ Fuyu no Tabi
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot]