I Can't Figure Out How To Finish This Code
Posted: Thu Sep 23, 2021 3:27 pm
Hey. I'm new to Renpy and I usually try to figure things out myself but I'm pretty stumped this time. I'm trying to create a dialogue tree that looks like this.
>Talk to Rumi
.....>Rumi question 1
.....>Rumi question 2
.....>Rumi question 3
>Talk to Cruz
.....>Cruz question 1
.....>Cruz question 2
.....>Cruz question 3
>Continue...
The tricky part is that I want the player to click on all 6 questions before being allowed to press the continue button. Here is a bit of what I've been able to figure out so far...
What I need to happen is for
To become
The moment all 6 defaults become
Everything else works fine, I'm just missing this next step. There is probably a much cleaner way to do this but I'm not a good coder and I don't even know if it's possible to do lol. Any help would be really appreciated, I've been racking my brain for days. Thanks everyone.
>Talk to Rumi
.....>Rumi question 1
.....>Rumi question 2
.....>Rumi question 3
>Talk to Cruz
.....>Cruz question 1
.....>Cruz question 2
.....>Cruz question 3
>Continue...
The tricky part is that I want the player to click on all 6 questions before being allowed to press the continue button. Here is a bit of what I've been able to figure out so far...
Code: Select all
label start:
default Rumi_question_01 = False
default Rumi_question_02 = False
default Rumi_question_03 = False
default Cruz_question_01 = False
default Cruz_question_02 = False
default Cruz_question_03 = False
label choice_07_previous:
menu:
"Talk to Rumi":
jump choice_07a
"Talk to Cruz":
jump choice_07b
"(Continue)" if convo_07_done == False:
jump continue_07
Code: Select all
"(Continue)" if convo_07_done == False:
Code: Select all
"(Continue)" if convo_07_done == True:
Code: Select all
default Rumi_question_01 = True
default Rumi_question_02 = True
default Rumi_question_03 = True
default Cruz_question_01 = True
default Cruz_question_02 = True
default Cruz_question_03 = True