- Nov 3, 2017
- 64
- 15
Hi all,
So I was wondering if someone might have a solution for this? I have code in my game for the player to select their name. What I would like to do is use that input name to change the name of the charater narrating so it reads '<Player Name> Narrating' as the character name instead of what I have now which is just 'Narrating.'
Here is my code for this:
define m = Character("Dave", who_color="#800080", what_color="#FF7F50")
define n = Character("Narrating", who_color="#0000FF", what_color="#7FFFD4")
$ m = renpy.input("Input your name:", default = str(m))
$ m = m.strip()
if m == "":
$ m = "Dave"
n "The legendary %(m)s !"
Any thoughts?
Cheerss
So I was wondering if someone might have a solution for this? I have code in my game for the player to select their name. What I would like to do is use that input name to change the name of the charater narrating so it reads '<Player Name> Narrating' as the character name instead of what I have now which is just 'Narrating.'
Here is my code for this:
define m = Character("Dave", who_color="#800080", what_color="#FF7F50")
define n = Character("Narrating", who_color="#0000FF", what_color="#7FFFD4")
$ m = renpy.input("Input your name:", default = str(m))
$ m = m.strip()
if m == "":
$ m = "Dave"
n "The legendary %(m)s !"
Any thoughts?
Cheerss
Last edited: