Hello there, its been awhile since i've been using renpy, but im back to wanting to make a game.
So...
I was wondering, how could you script this in renpy so that the user can type in what they want their name to be, and it would be stored in the game so that that name would show up. Here's an example...
Lets say you wanted your name to be "Jane".
And a character named John would say something like, "nice weather today isn't it Jane."
Whenever you, the main character, would say something, that name you wanted to show up.
Something sort of like that. Do you know how to do it? o.o
Any answers are immensely appreciated. ^__^
Thank you for your time, I really appreciate it. ^^
How would you do this...?
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.
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.
-
- Newbie
- Posts: 4
- Joined: Sun Aug 31, 2008 10:21 am
- Contact:
-
- Miko-Class Veteran
- Posts: 829
- Joined: Sun Feb 20, 2005 8:45 pm
- Projects: NaNoRenO 2016, Ren'Py tutorial series
- Location: USA
- Contact:
Re: How would you do this...?
given the variable "pcname"...
this goes into more detail.
Code: Select all
"Your name is %(pcname)s."
~Kitsune Zeta
-
- Newbie
- Posts: 4
- Joined: Sun Aug 31, 2008 10:21 am
- Contact:
Re: How would you do this...?
Ahhh, thank you very much Megaman Z.
This helped alot!
This helped alot!
Who is online
Users browsing this forum: Google [Bot]