If/elif/elif/else problem

Hello all thank you for taking the time to read this.
So I’m having a error with my story and its driving me insane. I dont understand what I have done wrong.
So at a choice I done the following
Choice (MEETING_MICHELLE)
and then the choice whatever.
Later on when I come to remembering the choice
I put
If (MEETING_MICHELLE is “choice number 1”){
Some writting and whatever
}
Elif (MEETING_MICHELLE is “choice number 2”){
Some writting and whatever
}
Elif (MEETING_MICHELLE is “choice number 3”){
Some writting and whatever
}
Else{
Some writting and whatever
}
But if I press on the choice 1-3 options it always goes to the ‘else’ option
It has worked with all the others and I’m really at a loss at what to do :persevere:
Please can some help me…

Hi.
I had a similar problem months ago.
Is every option equal to every condition including punctuation?

I can copy the wording from the script it might help if someone else looked. But I have been looking at it for 2 days now. Its happened with two of mine now.

Can you post it here or PM if you are not comfortable

Hello, thank you for your responses in trying to help me, Heres the coding, In the choice option there is wirtting but I have had to delete this because there so much
Heres the choice

choice (MEETING_MICHELLE)

if (MEETING_MICHELLE is “Tell her to speak to speak to you with some respect”){
}
elif (MEETING_MICHELLE is “She looks like she needs a hug”){
}
elif (MEETING_MICHELLE is “You have unlocked a locked choice!, Tell her that no one is going to be hurting her whilst she is here”){
}
else{
}

Can I see the original choice too?

Is the original choice written like this @BEEBS07?

choice (MEETING_MICHELLE) “Tell her to speak to speak to you with some respect”{
}
“She looks like she needs a hug”{
}
“You have unlocked a locked choice!, Tell her that no one is going to be hurting her whilst she is here”{
}“choice number 4”{
}

Yes but it’s like on a different line the first choice so like this:
choice (MEETING_MICHELLE)
“Tell her to speak to speak to you with some respect”{
}
“She looks like she needs a hug”{
}
“You have unlocked a locked choice!, Tell her that no one is going to be hurting her whilst she is here”{
}
“choice number 4”{
}

@BEEBS07, I have just tested it on my phone and it works. Copy the code and insert what you need inside the brackets

Choice

choice (MEETING_MICHELLE)“Tell her to speak to speak to you with some respect”{

NARR
Hi

}
“She looks like she needs a hug”{

NARR
Hi

}
“You have unlocked a locked choice!, Tell her that no one is going to be hurting her whilst she is here”{

NARR
Hi

}
“choice number 4”{

NARR
Hi

}

If/elif/else

if (MEETING_MICHELLE is “Tell her to speak to speak to you with some respect”) {

EXT. FROZEN_LAKE_DAY J.MILEY.EPI

NARR
Hi

} elif(MEETING_MICHELLE is “She looks like she needs a hug”) {

EXT. COMPANY_DUSK

NARR
Hi

} elif(MEETING_MICHELLE is “You have unlocked a locked choice!, Tell her that no one is going to be hurting her whilst she is here”) {

EXT. DARK VILLA

NARR
Hi

}
else {

EXT. PIRATE INSIDE SHIP

NARR
Hi

}

1 Like

Thank you. I really hope it does its killing me :woman_facepalming:t3::grimacing::expressionless:

Let me know if it still messes with you

1 Like

try replacing ELIF with IF

1 Like

Ok I will copy it tonight and see if it works :crossed_fingers:

1 Like

Ok I tried this and it didnt work. However when going through my script I realised that Because I was basing this If/elif/elif/else on a points amount (so I had to write it out about 4 times because some choices where Locked, I only named one of the choices and not the other three. :woman_facepalming:t3::expressionless:
I have now corrected it and it’s working! Thank goodness but I’m so mad at myself that I missed this :rofl::woman_facepalming:t3:
But thank you everyone :heart:

1 Like