Urgent help with branching choices!


#1

Hello, I’m completely desperate ! So, I added flags to my recent episode and some of them just won’t play
The script goes :

if (rose_answered){

if (dont_talk){

blahblah

}elif (i_wanna_talk){

blahblah

}
}
if (didn’t answer){

if (dont_talk){

blahblah

}elif (i_wanna_talk){

blahblah

}
}

Where am I wrong ??


#2

When it comes to branching, it’ll usually have to look something like this.

if (-choice name- is “Choice option”){
}
everything after would be elif, or else.

But keep in mind there is other ways to use branching!
This is just the way that I prefer to.


#3

if (rose_answered) {
if (dont_talk) {
} else {
#this is the “I want to talk” branch
}

} else {
#this is the “didn’t answer” branch
if (dont_talk) {
} else {
#this is the “I wanna talk” branch
}
}


#4

It’s finally working ! :heart_eyes:
Thank you so much !! :purple_heart::purple_heart:


#5