I made a list of all the hyperlinks (so players can read it anytime) called "label descriptions".
players can access to it anytime by right click.
Code: Select all
a "Hi there!{w} We have to go school now" (player right clicks here)
but an error comes out when I right click during {w}
Code: Select all
a "Hi there!{w} (players right click here)We have to go school now"
While running game code:
File "game/chigo.rpy", line 467, in script
a " Hi there!{w} We have to go school now"
Exception: The say screen (or show_function) must return a Text object.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "\\7PC\Users\Public\renpy-6.13.0-sdk\renpy-6.13.0\renpy\execution.py", line 261, in run
File "\\7PC\Users\Public\renpy-6.13.0-sdk\renpy-6.13.0\renpy\ast.py", line 396, in execute
File "\\7PC\Users\Public\renpy-6.13.0-sdk\renpy-6.13.0\renpy\exports.py", line 696, in say
File "\\7PC\Users\Public\renpy-6.13.0-sdk\renpy-6.13.0\renpy\character.py", line 770, in __call__
File "common/00nvl_mode.rpy", line 252, in do_display
File "\\7PC\Users\Public\renpy-6.13.0-sdk\renpy-6.13.0\renpy\character.py", line 453, in display_say
Exception: The say screen (or show_function) must return a Text object.
Windows-post2008Server-6.1.7600
Ren'Py 6.13.0.1603
Please help me.
How can I get rid of this error?
The error comes out after I return from "label descriptions" and click once.
here's my "label descriptions"
Code: Select all
label descriptions_page1:
nvl clear
menu:
"[persistent.name_description_sol001]":
if not persistent.description_sol001:
jump description_sol001
"[persistent.name_description_sol002]":
if not persistent.description_sol002:
jump description_sol002
"[persistent.name_description_sol003]":
if not persistent.description_sol003:
jump description_sol003
"[persistent.name_description_sol004]":
if not persistent.description_sol004:
jump description_sol004
"[persistent.name_description_sol005]":
if not persistent.description_sol005:
jump description_sol005
" Full List":
jump solve_screen
return
" Next Page":
jump description_sol_page2
return
" Return":
return
return