Table of Contents

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.
Message
Author
User avatar
Saa
Regular
Posts: 32
Joined: Tue Aug 20, 2013 7:11 pm
Tumblr: nipahgirl
Contact:

Re: Table of Contents

#16 Post by Saa »

Did you define the variable? At the top of your file, put:

Code: Select all

default ch01 = False
And so on for each of your chapters. If that's not it, try changing "if ch01" to "if ch01==True", I've encountered errors sometimes because of this but have no idea why.

Nadare Aikami
Newbie
Posts: 10
Joined: Mon May 06, 2019 8:35 am
Contact:

Re: Table of Contents

#17 Post by Nadare Aikami »

Saa wrote: Thu May 09, 2019 2:43 pm Did you define the variable? At the top of your file, put:

Code: Select all

default ch01 = False
And so on for each of your chapters. If that's not it, try changing "if ch01" to "if ch01==True", I've encountered errors sometimes because of this but have no idea why.
Thank you! That fixed the problem! But so many problems occurred that are beyond being able to get fixed..Thanks for the help that you and everyone has been providing ^^ I'm very grateful.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3794
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Table of Contents

#18 Post by Imperf3kt »

Perhaps renpy's built in replay feature will work better for you?

https://www.renpy.org/doc/html/rooms.ht ... lay#replay
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Nadare Aikami
Newbie
Posts: 10
Joined: Mon May 06, 2019 8:35 am
Contact:

Re: Table of Contents

#19 Post by Nadare Aikami »

Imperf3kt wrote: Thu May 09, 2019 4:54 pm Perhaps renpy's built in replay feature will work better for you?

https://www.renpy.org/doc/html/rooms.ht ... lay#replay
If I used Replay, would i still be able to select choices if I added the choices in the replay? Meaning decisions that affect the route of the visual novel.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3794
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Table of Contents

#20 Post by Imperf3kt »

I assume you would, but ending the replay might be difficult if you have multiple scenes that share a common label.

I haven't used the replay feature personally, so at this time I can only assume.
I plan to use it in future though.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot]