Can someone help me with if/elif/else?


image
I’ve made our character choose 3 dialogue options, and whatever option they choose they will have diffrent " cut-scenes ". But the thing is, when I choose option 2 / 3 the cutscene that plays will be from option 1, and it will skip the 2 other cut-scenes. (I’ve tried reset episode, didn’t work.)

(I’m also kinda new, so sorry if I messed up a lot in the code, heh.

you need to reload the page since you have likely multiple gains

its the gain fault, if you get a gain you will keep that permanet even if you re pick choice then you just will have both

personally I prefore to use the choice instead of gain. they work same way, but if you repick it wont get mess with haveing multiple gains

for a note this is how you use the choice instead of the gain. if you wanna try it.

choice (choice_name)
“option 1.” {

}

if (choice_name “option 1.”) {

}

1 Like

ah, alright. thanks :slight_smile:

1 Like

wait, might i quickly ask you something… does it remember the choice in other chapters? Or do I need to use gain to make it remember?

1 Like

yes it does.

1 Like