DARA’S GUIDE: Remember Choices with if/elif/else

Bump :palm_tree:

1 Like

To me, it is a bit confusing and I keep on feeling like it doesn’t make sense to me

What would I do if I have 8 different color choices for my main character favorite color, in a few episodes the love interest is supposed to give her three dresses of which ever color the readers chooses. I don’t know how to use the If/elif/else for choosing a favorite color.

This is the coding I wrote, can anyone tell me how to fix it so that the choice will matter and have a point system?

label favorite_color

@zoom on 834 266 to 496% in 0

@speechbubble is 165 130 to 100% with tail_top_right

    NARRATER (CRIMSON)

What is your favorite color?

choice “Red” {

@zoom on 677 304 to 411% in 0

@speechbubble is 165 130 to 100% with tail_top_left

    SHADOW (talk_reassure_neutral) 

 Red is my favorite too

} “Blue” {

@ Zoom on 834 266 to 496% in 0

@speechbubble is 165 130 to 100% with tail_top_right

    CRIMSON 

It’s blue.

@zoom on 677 304 to 411% in 0

@ speech bubble is 165 130 to 100% with tail_top_left

    SHADOW 

That’s a nice color, mine is red

All the coding repeats the same after blue. I don’t have time to write all the coding down, the other colors are yellow, green, purple, pink, black and white. All the coding for the rest of the colors is the exact same as blue. :heart:🫶🏻

I’m not sure what I’ve done wrong, someone please help!

.

it still says the same thing

Hi @Dara.Amarie , I want the reader to be able to choose their outfit and add an accessory right afterwards. I went ahead to go test it but it only changes to one out of the three outfits. Can you take a look? Thanks!

hi dara marie

where in the script does the if/else etc… go
Does it go after or before
eg

AFTER

INT. BLACK BACKGROUND with TREE WOODS at layer -8 with NIGHT SKY A at layer -11 with TREE 2 at layer -7 with FORREST CAVE at layer -11 with FABRIC at layer -6 with BRANCH at layer -7 with HOUSE PLANT B at layer 6 with FAKE GRASS at layer -12 with ROCK at layer -7 with EFFECT 3 at layer 10 with WALKIE TALKIE 1 at layer 5 with AUSTINS FINGERS at layer 6

@zoom on 1085 127 to 0% in 0

@ROMAN changes into SADDLE SET
@ARYA changes into SADDLE SET
@JACK changes into Jack Warm Wear
@MARTY changes into Marty Warm Wear

@overlay WALKIE TALKIE 1 opacity 0
@overlay AUSTINS FINGERS opacity 0
@overlay FABRIC opacity 1

@overlay 6281078708240384_FABRIC shifts to 248 305 in zone 2
@overlay 6281078708240384_FABRIC scales to 0.118 0.118
@overlay 6281078708240384_BRANCH shifts to 152 107 in zone 2
@overlay 6281078708240384_BRANCH scales to 1.793 1.793
@overlay 6281078708240384_FORREST CAVE shifts to 42 -203 in zone 2
@overlay 6281078708240384_FORREST CAVE scales to 1.429 1.429
@overlay 6281078708240384_HOUSE PLANT B shifts to -187 -259 in zone 1
@overlay 6281078708240384_HOUSE PLANT B scales to 1.912 1.912
@overlay 6281078708240384_TREE 2 shifts to 266 407 in zone 1
@overlay 6281078708240384_TREE 2 scales to 1.070 1.070
@overlay 6281078708240384_TREE WOODS shifts to -59 105 in zone 1
@overlay 6281078708240384_TREE WOODS scales to 1.994 1.994
@overlay 6281078708240384_NIGHT SKY A shifts to 245 306 in zone 1
@overlay 6281078708240384_NIGHT SKY A scales to 1.664 1.664
@overlay 6281078708240384_FAKE GRASS shifts to -950 -448 in zone 1
@overlay 6281078708240384_FAKE GRASS scales to 3.578 3.578
@overlay 6281078708240384_ROCK shifts to -81 26 in zone 1
@overlay 6281078708240384_ROCK scales to 2.192 2.192
@overlay 6281078708240384_EFFECT 3 shifts to -231 -192 in zone 1
@overlay 6281078708240384_EFFECT 3 scales to 1.601 1.601
@overlay 6281078708240384_WALKIE TALKIE 1 shifts to 106 258 in zone 1
@overlay 6281078708240384_WALKIE TALKIE 1 scales to 0.290 0.290
@overlay 6281078708240384_AUSTINS FINGERS shifts to 72 209 in zone 1
@overlay 6281078708240384_AUSTINS FINGERS scales to 1.865 1.865

@ROMAN spot 1.280 53 -28 in zone 1 at layer 0 AND ROMAN faces right AND AUSTIN spot 1.146 20 61 in zone 3 at layer 1 AND AUSTIN faces left AND AUSTIN is idle_food_hand_worried_loop AND MARTY spot 1.128 204 57 in zone 2 at layer 0 AND MARTY faces right AND MARTY is idle AND ARYA spot 1.280 24 -55 in zone 1 at layer 3 AND ARYA faces right AND BREE spot 1.115 -90 28 in zone 1 at layer 2 AND JACK spot 1.220 -51 12 in zone 1 at layer 1 AND CINDER spot 0.912 -36 31 in zone 1 at layer 3 AND CINDER faces right

@cut to zone 3
@zoom on 206 267 to 156% in 0
@transition fade in 1

if (label1) {

@BREE changes into Bree Warm Wear

} elif (label2) {

@BREE changes into Bree Warm Wear 1

} elif (label3) {

@BREE changes into Bree Warm Wear 2

} else {
}

BEFORE

INT. BLACK BACKGROUND with TREE WOODS at layer -8 with NIGHT SKY A at layer -11 with TREE 2 at layer -7 with FORREST CAVE at layer -11 with FABRIC at layer -6 with BRANCH at layer -7 with HOUSE PLANT B at layer 6 with FAKE GRASS at layer -12 with ROCK at layer -7 with EFFECT 3 at layer 10 with WALKIE TALKIE 1 at layer 5 with AUSTINS FINGERS at layer 6

@zoom on 1085 127 to 0% in 0

@ROMAN changes into SADDLE SET
@ARYA changes into SADDLE SET
@JACK changes into Jack Warm Wear
@MARTY changes into Marty Warm Wear

@overlay WALKIE TALKIE 1 opacity 0
@overlay AUSTINS FINGERS opacity 0
@overlay FABRIC opacity 1

@overlay 6281078708240384_FABRIC shifts to 248 305 in zone 2
@overlay 6281078708240384_FABRIC scales to 0.118 0.118
@overlay 6281078708240384_BRANCH shifts to 152 107 in zone 2
@overlay 6281078708240384_BRANCH scales to 1.793 1.793
@overlay 6281078708240384_FORREST CAVE shifts to 42 -203 in zone 2
@overlay 6281078708240384_FORREST CAVE scales to 1.429 1.429
@overlay 6281078708240384_HOUSE PLANT B shifts to -187 -259 in zone 1
@overlay 6281078708240384_HOUSE PLANT B scales to 1.912 1.912
@overlay 6281078708240384_TREE 2 shifts to 266 407 in zone 1
@overlay 6281078708240384_TREE 2 scales to 1.070 1.070
@overlay 6281078708240384_TREE WOODS shifts to -59 105 in zone 1
@overlay 6281078708240384_TREE WOODS scales to 1.994 1.994
@overlay 6281078708240384_NIGHT SKY A shifts to 245 306 in zone 1
@overlay 6281078708240384_NIGHT SKY A scales to 1.664 1.664
@overlay 6281078708240384_FAKE GRASS shifts to -950 -448 in zone 1
@overlay 6281078708240384_FAKE GRASS scales to 3.578 3.578
@overlay 6281078708240384_ROCK shifts to -81 26 in zone 1
@overlay 6281078708240384_ROCK scales to 2.192 2.192
@overlay 6281078708240384_EFFECT 3 shifts to -231 -192 in zone 1
@overlay 6281078708240384_EFFECT 3 scales to 1.601 1.601
@overlay 6281078708240384_WALKIE TALKIE 1 shifts to 106 258 in zone 1
@overlay 6281078708240384_WALKIE TALKIE 1 scales to 0.290 0.290
@overlay 6281078708240384_AUSTINS FINGERS shifts to 72 209 in zone 1
@overlay 6281078708240384_AUSTINS FINGERS scales to 1.865 1.865

@ROMAN spot 1.280 53 -28 in zone 1 at layer 0 AND ROMAN faces right AND AUSTIN spot 1.146 20 61 in zone 3 at layer 1 AND AUSTIN faces left AND AUSTIN is idle_food_hand_worried_loop AND MARTY spot 1.128 204 57 in zone 2 at layer 0 AND MARTY faces right AND MARTY is idle AND ARYA spot 1.280 24 -55 in zone 1 at layer 3 AND ARYA faces right AND BREE spot 1.115 -90 28 in zone 1 at layer 2 AND JACK spot 1.220 -51 12 in zone 1 at layer 1 AND CINDER spot 0.912 -36 31 in zone 1 at layer 3 AND CINDER faces right

if (label1) {

@BREE changes into Bree Warm Wear

} elif (label2) {

@BREE changes into Bree Warm Wear 1

} elif (label3) {

@BREE changes into Bree Warm Wear 2

} else {
}
@cut to zone 3
@zoom on 206 267 to 156% in 0
@transition fade in 1

please and thanks

thank you

1 Like

Bump :kiwi_fruit: