How to capitalize a character name tag?

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.
Post Reply
Posts: 9
Joined: Wed Dec 20, 2017 4:15 pm

How to capitalize a character name tag?

#1 Post by Dacuna » Thu Nov 14, 2019 3:19 pm

This is probably really obvious, but I'm trying to capitalize a character name in the text.

m "Name, what're you doing? NAME!"

Unfortunately, using [n!u] doesn't work unless n is a variable. I know I could define n as a variable instead of just a character from the beginning but I was wondering if there was a native, simpler way.


Eileen-Class Veteran
Posts: 1653
Joined: Wed Dec 04, 2013 12:33 pm

Re: How to capitalize a character name tag?

#2 Post by philat » Thu Nov 14, 2019 9:14 pm

Assuming n is the defined character, [!u].

Post Reply

Who is online

Users browsing this forum: No registered users