Defining Italics without the style tag [SOLVED]

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
Message
Author
User avatar
ameliori
Veteran
Posts: 201
Joined: Sun Apr 06, 2014 9:20 am
Completed: Who is Mike?, Cupid
Projects: The Black Beast [Fairytale]
Organization: FERVENT
Tumblr: ameliori
itch: fervent
Contact:

Defining Italics without the style tag [SOLVED]

#1 Post by ameliori »

I'd like a specific character dialogue to always appear italicized. Is this possible? It's a little hard to input {i} {/i} all the time for every single line. Thanks in advance!
Last edited by ameliori on Sat Oct 14, 2017 6:15 am, edited 1 time in total.
ameliori
TwitterPatreon

User avatar
IrinaLazareva
Veteran
Posts: 399
Joined: Wed Jun 08, 2016 1:49 pm
Projects: Legacy
Organization: SunShI
Location: St.Petersburg, Russia
Contact:

Re: Defining Italics without the style tag

#2 Post by IrinaLazareva »

Code: Select all

define perso = Character('Name', what_italic = True)

User avatar
ameliori
Veteran
Posts: 201
Joined: Sun Apr 06, 2014 9:20 am
Completed: Who is Mike?, Cupid
Projects: The Black Beast [Fairytale]
Organization: FERVENT
Tumblr: ameliori
itch: fervent
Contact:

Re: Defining Italics without the style tag

#3 Post by ameliori »

Thank you!!
ameliori
TwitterPatreon

Post Reply

Who is online

Users browsing this forum: Bing [Bot]