[Got help in the discord! thank you!]
Hello! I'm fairly new to renpy and python, I want to show a variable (i'm not even sure if that's the right term) in dialogue.
So for example, earlier the player made a choice between 3 characters. I want another character to reference that choice, something like:
"So you and [character chosen] actually pulled it off."
And I've read the articles on if statements but I'm not sure what I put in the text for it to populate? I think I'm missing something.
I appreciate any and all help! Thank you!
SOLVED - Showing a variable in dialogue
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.
Re: SOLVED - Showing a variable in dialogue
Not sure if it's solved or not, but just in case : here is the documentation you need.
Provided character_chosen is your string variable:
Provided character_chosen is your string variable:
Code: Select all
"So you and [character_chosen] actually pulled it off."
Who is online
Users browsing this forum: Bing [Bot], K_strum, Majestic-12 [Bot]