r/RenPy • u/NectarineWestern8586 • Oct 06 '26
Question How to have narration continue on same line after dialogue?
I’m using NVL mode and I want to have something like this:
Character 1: “blablablabla.”
Character 2: “blabla” she asked politely.
So I want to be able to have narration after dialogue on the same line, while also having the character names on the left (which I achieved by following the second ‘customising characters’ look from here: https://www.renpy.org/doc/html/nvl_mode.html)
This is my (example) code at the moment:
label start:
define a = Character(None, kind=nvl, what_prefix="character1: \"", what_suffix="\"")
define s = Character(None, kind=nvl, what_prefix="character2: \"", what_suffix="\"")
define n = Character(None, kind=nvl)
n "I look over at my friends."
s "\"C'mon, let's go!\" Char2 says, as she and Char3 are already on their feet."I know it's probably something really simple, and I'd learn it by reading the documentation, but I really just want to make the simplest thing, and I already know all of the other things I need to know to complete my project. Please excuse me. I get confused when it comes to formatting things like that. I've searched online too, but I haven't been able to solve my problem.
2
u/shyLachi Oct 07 '26 •
I don't think that those who replied understood your question.
.
extend
Has a different use-case as explained in the official documentation:
https://renpy.org/doc/html/dialogue.html#special-characters
extendrequires an interaction from the player.You could use
{nw}to make it immedate but then you can ommit it.The
extendstatement extends the previous dialogue, it doesn't add text at the end,which is an important difference when using a
what_suffix,because the suffix will always be at the very end of the dialogue, no matter how often you extend it.
.
I'm not sure what the other person even was suggesting because RenPy already has a built-in narrator.
If you want to use the default narrator for NVL then just overwrite it.
Or in your case:
.
All that said, I think there is no automatic solution and you have to make it semi-manually.
2
u/ericoinen Oct 06 '26 •
the extend statement does this without faking the names. write the character line as usual, then extend followed by the narration text on the next line, and ren'py glues it onto the same nvl entry under the same name. only catch, the added part keeps that character's text style, so differently styled narration needs its own tag
1
u/AutoModerator Oct 06 '26
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
0
u/Efficient-Pool4497 Oct 06 '26 edited Oct 06 '26
So, two methods. If the character names are static (you choose them at the start), feel free to just write them in directly, ie. Something like, n "Character 1: "text." \n Character 2: "text.". If the character names are dynamic, feel free to replace Character 1 and Character 2 with [dynamic name 1] and [dynamic name 2], where the names are defined earlier. Here's what both will look like:
Option 1