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.
EDIT: Just needed to read the manual better. Please excuse me.
Hi all,
How can I make the player character say something other than what was given as a menu choice (as though the menu choice is what they're actually thinking in their head, but when they open their mouth to speak, they ammend their thought to something else)?
Example...
NPC: Would you like some brussels sprouts?
(Option given: I'd rather jump off a cliff!)
Actual response: Thank you for the generous offer, but I just had a tonsillectomy and am supposed to refrain from eating solid foods for the next two days.
From what I've learned thus far (admittedly not much), the default behavior seems to have the player simply say what the option says verbatim. So how might this be done?
Thanks!
Last edited by imagazzell on Tue Mar 26, 2024 12:07 am, edited 2 times in total.
imagazzell wrote: ↑Mon Mar 25, 2024 7:57 pm
From what I've learned thus far (admittedly not much), the default behavior seems to have the player simply say what the option says verbatim.
Not really. In the example in the documentation, "Drink coffee" is the text displayed as a choice. "I drink the coffee, and it's good to the last drop." is what's displayed if you choose "Drink coffee." https://www.renpy.org/dev-doc/html/menu ... game-menus
Oof. What a dunce I feel like. I was only going off of the quickstart section on menus, where the player's response isn't on the very next line after the option, and my brain didn't think to follow the jump to the label, where it would have been made clear to me the same thing that you linked to. I apologize for wasting anyone's time. I'd delete the OP if I could.
imagazzell wrote: ↑Mon Mar 25, 2024 7:57 pm
From what I've learned thus far (admittedly not much), the default behavior seems to have the player simply say what the option says verbatim.Thanks for the link; you made my day. You helped me, and now I also want to help you. I am using this https://domypaper.com/ website, which I use when I feel stuck or busy with other work. I like them because they are professional in their work, and they are also so affordable that anyone can use their services. If you also need their help, you can visit their website.
Not really. In the example in the documentation, "Drink coffee" is the text displayed as a choice. "I drink the coffee, and it's good to the last drop." is what's displayed if you choose "Drink coffee." https://www.renpy.org/dev-doc/html/menu ... game-menus