Desire for a narrator for only self-voicing mode [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
ArachneJericho
Regular
Posts: 196
Joined: Sun Jun 22, 2014 2:04 am
Projects: Kaguya Hime
Tumblr: mousedeerproductions
Location: Seattle, WA, USA
Contact:

Desire for a narrator for only self-voicing mode [SOLVED]

#1 Post by ArachneJericho » Thu Nov 06, 2014 12:07 am

I would like to create a narrator that is only present when self-voicing is on.

I have not found a way to determine when self-voicing is on (there is self-voicing documentation, but nothing code-wise) so I'm at a loss here.
Last edited by ArachneJericho on Thu Nov 06, 2014 2:19 am, edited 1 time in total.

User avatar
Mithrilda
Regular
Posts: 26
Joined: Mon Oct 13, 2014 2:01 pm
Contact:

Re: Desire for a narrator for only self-voicing mode

#2 Post by Mithrilda » Thu Nov 06, 2014 1:24 am

ArachneJericho wrote:I would like to create a narrator that is only present when self-voicing is on.

I have not found a way to determine when self-voicing is on (there is self-voicing documentation, but nothing code-wise) so I'm at a loss here.
Is this what you were looking for?
Descriptive Text

Descriptive text is text that is displayed (and spoken) by the narrator if self-voicing is enabled. The text is not displayed if self-voicing is disabled. Self voicing text uses the sv variable, which is defined to be similar to a character.

sv = ...

A character-like object that uses the narrator to speak text if self-vocing is enabled.

For example:

Code: Select all

e "Hang on, this is gonna be a bumpy ride!"

sv "And then the sun exploded..."

# A complex and exciting cut scene.
show event sun_exploding
pause 10
From http://www.renpy.org/doc/html/self_voicing.html

User avatar
ArachneJericho
Regular
Posts: 196
Joined: Sun Jun 22, 2014 2:04 am
Projects: Kaguya Hime
Tumblr: mousedeerproductions
Location: Seattle, WA, USA
Contact:

Re: Desire for a narrator for only self-voicing mode

#3 Post by ArachneJericho » Thu Nov 06, 2014 2:18 am

I am so embarassed right now. Thank you.

Post Reply

Who is online

Users browsing this forum: Google [Bot]