renpy.input adding character name gives syntax error
Posted: Sat Jun 16, 2018 9:40 am
I am having a small problem with renpy.input. When I write a narrator line between the brackets it works just fine but when I write a dialog line it gives me a syntax error. Is it possible to input something while a character is asking a question or saying something? I know I could write the question in a separate line and then give the player an input box, but that wouldn't look very "clean".
Here's the code:
Here's the code:
Code: Select all
$ inputzahl = renpy.input(character "Was ist [a] + [b]?").strip()
#gives me a syntax error
$ inputzahl = renpy.input("Was ist [a] + [b]?").strip()
#works fine but doesn't display character name while input