In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
xavimat
Eileen-Class Veteran
Posts: 1461 Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love
Organization: Pilgrim Creations
Github: xavi-mat
itch: pilgrimcreations
Location: Spain
Discord: xavimat
Contact:
#1
Post
by xavimat » Thu Sep 20, 2018 9:32 am
These three examples show the square brackets correctly in the dialogue, but cause an error in the History screen. Renpy is looking for the variables "Test 1" etc.
Code: Select all
label start:
"[[Test 1...]"
"Go to History now."
Code: Select all
label start:
"\[Test 2 ...]"
"Go to History now."
Code: Select all
define e = Character("Eileen", what_prefix="[[", what_suffix="]")
label start:
e "Test 3..."
"Go to History now."
This does not work even in the dialogue:
Code: Select all
define e = Character("Eileen", what_prefix="\[", what_suffix="]")
label start:
e "Test 4..."
xavimat
Eileen-Class Veteran
Posts: 1461 Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love
Organization: Pilgrim Creations
Github: xavi-mat
itch: pilgrimcreations
Location: Spain
Discord: xavimat
Contact:
#2
Post
by xavimat » Fri Sep 21, 2018 2:40 pm
This should be solved in the next release:
https://github.com/renpy/renpy/commit/5 ... 2f84adad37
Thanks again, PyTom.
Users browsing this forum: No registered users