Sayer *char* is not a function or string...

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
HarukaNami
Regular
Posts: 44
Joined: Sat Nov 26, 2016 2:47 am
Projects: Dire Love, The Exorcynic, Full Hearts, Cheat Heat
Contact:

Sayer *char* is not a function or string...

#1 Post by HarukaNami »

The subject says it all and I have no idea what is going on with this error.

My code is defining the variables:

define *char* = Character ('char', color="#ffffff")

User avatar
Farryn
Regular
Posts: 33
Joined: Wed May 10, 2017 10:15 pm
Projects: Diplomatic Relations
IRC Nick: Farryn
Tumblr: princessdealtry
Contact:

Re: Sayer *char* is not a function or string...

#2 Post by Farryn »

I believe you need:

define char = Characer("char", who_color="#ffffff")

Where "char" will be what shows up in the namebox.

https://www.renpy.org/doc/html/dialogue ... er-objects

Post Reply

Who is online

Users browsing this forum: Google [Bot]