How to hide namebox from narrator? [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
littanana
Regular
Posts: 48
Joined: Mon Sep 05, 2016 2:15 pm
Tumblr: girlgaymer
Contact:

How to hide namebox from narrator? [solved]

#1 Post by littanana »

I have my narrator defined as a "character". How do I make the narrator have no namebox?
Last edited by littanana on Sun Oct 16, 2016 2:33 pm, edited 1 time in total.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1960
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: How to hide namebox from narrator?

#2 Post by Donmai »

Just don't give him a name?

Code: Select all

define n = Character(' ')
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

User avatar
littanana
Regular
Posts: 48
Joined: Mon Sep 05, 2016 2:15 pm
Tumblr: girlgaymer
Contact:

Re: How to hide namebox from narrator?

#3 Post by littanana »

It doesn't have a name, but it still creates the empty namebox.

Kinsman
Regular
Posts: 130
Joined: Sun Jul 26, 2009 7:07 pm
Location: Fredericton, NB, Canada
Contact:

Re: How to hide namebox from narrator?

#4 Post by Kinsman »

Was there a special reason you made the narrator a character? If you just write dialogue without a name, it's assumed to be the default narrator, and you won't get a namebox.
Flash To Ren'Py Exporter
See the Cookbook thread

User avatar
indoneko
Miko-Class Veteran
Posts: 528
Joined: Sat Sep 03, 2016 4:00 am
Contact:

Re: How to hide namebox from narrator?

#5 Post by indoneko »

littanana wrote:It doesn't have a name, but it still creates the empty namebox.
is it namebox or text/dialogue box?

perhaps you could post a snapshot of your game
My avatar is courtesy of Mellanthe

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2405
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: How to hide namebox from narrator?

#6 Post by Ocelot »

Declare your character with the name None

Code: Select all

my_narrator = Character(name=None)
(It should be None, not 'None')

Other possibility is to inherit data from default narrator character:

Code: Select all

my_narrator = Character(kind=narrator)
Notice that you can replace default narrator (the one you get if you write a string without specifying character) by redefining narrator variable.
< < insert Rick Cook quote here > >

User avatar
littanana
Regular
Posts: 48
Joined: Mon Sep 05, 2016 2:15 pm
Tumblr: girlgaymer
Contact:

Re: How to hide namebox from narrator?

#7 Post by littanana »

Kinsman wrote:Was there a special reason you made the narrator a character? If you just write dialogue without a name, it's assumed to be the default narrator, and you won't get a namebox.
So I could set a custom colored outline on the text by narrator..
Ocelot wrote:Declare your character with the name None

Code: Select all

my_narrator = Character(name=None)
(It should be None, not 'None')

Other possibility is to inherit data from default narrator character:

Code: Select all

my_narrator = Character(kind=narrator)
Notice that you can replace default narrator (the one you get if you write a string without specifying character) by redefining narrator variable.
Thank you I got it to work by using the name=None!

Ezekiel056
Newbie
Posts: 1
Joined: Fri Sep 14, 2018 5:14 pm
Contact:

Re: How to hide namebox from narrator? [solved]

#8 Post by Ezekiel056 »

Hi,

I'm trying to do the same thing but it doesnt work ...


define n = Character(name=None)
n "Hello"

The namebox is still visible with no name on it.. Any reason ?

thanks !

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot]