Remembering choices <<

how do i remember choices? i looked thru a lot of forums and videos but it won’t work. :frowning_face:

choice
“Choice 1” {
gain choice_1
} “Choice 2” {
gain choice_2
} “Choice 3” {
}
here’s the coding for the choice

if (choice_1) {
} elif (choice_2) {
} else {
}

this is using gains to remember the choice :smiling_face_with_three_hearts:

2 Likes

you can also use choice names to remember a choice.

choice (CHOICE)
“Choice 1” {
} “Choice 2” {
}

if (CHOICE is “Choice 1”) {
} elif (CHOICE is “Choice 2”) {
}

1 Like

omg you’re a life saver, thank you SOOOO much!!! bookmarking ur replies lol

2 Likes

aww HAHAH no problem :pleading_face:

1 Like

@episode.mistletoe’s explanation was really good! I made a few slides in my google classroom that talk about the reasons behind those codes and how to think through the steps. The code is dmkdpcc if anyone wants to join

2 Likes

ooh that sounds interesting, i might join!