Getting the Click-to-Continue sign to non defined Narrator

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
Helyees
Regular
Posts: 150
Joined: Tue Mar 08, 2016 3:14 pm
Projects: Panzer Hearts
Contact:

Getting the Click-to-Continue sign to non defined Narrator

#1 Post by Helyees » Sun Dec 17, 2017 6:30 am

Heya,

I use this line of code for my CTC sign:

Code: Select all

image ctc_animation = Animation("arrow.png", 0.2, "arrow1.png", 0.2,"arrow2.png", 0.2, xpos=0.99, ypos=0.99, xanchor=0.5, yanchor=1.0)
The code for CTC icon works well when, the line //

Code: Select all

ctc="ctc_animation", ctc_position="nestled")
is added to the characterd definition.

In my game I have quite a lot of text without a defined character ( The protagonist thinking in his head). How can I add the ctc sign to even these lines without a defined character? :shock: :shock: :shock:

User avatar
Ocelot
Miko-Class Veteran
Posts: 849
Joined: Tue Aug 23, 2016 10:35 am
Skype: miinipaa
Contact:

Re: Getting the Click-to-Continue sign to non defined Narrator

#2 Post by Ocelot » Sun Dec 17, 2017 8:45 am

I have quite a lot of text without a defined character
This character is actually called narrator and you can define and redefine it like any other character.

Code: Select all

define narrator = Character(kind=narrator, ctc="ctc_animation", ctc_position="nested")
< < insert Rick Cook quote here > >

User avatar
Helyees
Regular
Posts: 150
Joined: Tue Mar 08, 2016 3:14 pm
Projects: Panzer Hearts
Contact:

Re: Getting the Click-to-Continue sign to non defined Narrator

#3 Post by Helyees » Sun Dec 17, 2017 11:11 am

Thank you again Ocelot!! <3

Post Reply

Who is online

Users browsing this forum: CyDementia, Remix