Hi, thanks for that
I actually guessed it was 'say_who_window' before but it crashes for some reason at the point it's meant to be displayed
would you be able to tell me if there's anything wrong with my code please?
Code: Select all
define r = DynamicCharacter("player_name", color="#404040", show_two_window=True, say_who_window="Namebox2.png",
This is the error message:
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 507, in script
File "game\screens.rpy", line 41, in python
Exception: Style property say_who_window is unknown.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\execution.py", line 288, in run
node.execute()
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\ast.py", line 453, in execute
renpy.exports.say(who, what, interact=self.interact)
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\exports.py", line 757, in say
who(what, interact=interact)
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\character.py", line 795, in __call__
self.do_display(who, what, cb_args=self.cb_args, **display_args)
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\character.py", line 671, in do_display
**display_args)
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\character.py", line 450, in display_say
what_text = show_function(who, what_string)
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\character.py", line 655, in do_show
**self.show_args)
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\character.py", line 263, in show_display_say
return renpy.display.screen.get_widget(screen, "what")
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\display\screen.py", line 620, in get_widget
screen.update()
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\display\screen.py", line 266, in update
self.screen.function(**self.scope)
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\screenlang.py", line 1217, in __call__
renpy.python.py_exec_bytecode(self.code.bytecode, locals=scope)
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\python.py", line 1297, in py_exec_bytecode
exec bytecode in globals, locals
File "game\screens.rpy", line 41, in <module>
id "who"
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\ui.py", line 448, in __call__
w = self.function(*args, **keyword)
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\text\text.py", line 1097, in __init__
super(Text, self).__init__(**properties)
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\display\core.py", line 131, in __init__
self.style = renpy.style.Style(style, properties, heavy=True)
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\style.py", line 823, in __init__
build_style(self)
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\style.py", line 632, in build_style
my_updates.extend(expand_properties(p))
File "C:\Users\Grant\Google Drive\Writing\Always The Same Blue Sky\Visual Novel Project\Ren'Py\renpy\style.py", line 510, in expand_properties
raise Exception("Style property %s is unknown." % prop)
Exception: Style property say_who_window is unknown.