First question after registration since I can usually find the answer using google (and ending up on a post on here) but not this time. I hope I'm in the right sub-forum, please forgive me if I'm not and please point me to the right one
Code: Select all
python:
name = renpy.input(_("What's her name?"))
name = name.strip() or __("So Lazy")
Code: Select all
narrator "Her name is [name]"
Code: Select all
image hername = Text("Her name \nis [name]", style="sayText_b26_trf")
show hername
I've tried declaring the variable default name="noname", I've tried combining text strings, you name it.
KeyError u'name'
I must be missing something incredibly basic and am, admittedly, very n00b. Any help appreciated.
Edit (solved). Use
Code: Select all
show expression Text("Hey! [name] \nListen up!", style="sayText_b26_trf")