Oh my gosh! I am having so much trouble with the if elif else command. I have used it before with no problem, but now it is skipping over the scene I create. I will attach the code below.
label outfits
ELI (talk_shrug_neutral)
What should I wear?
choice (OUTFIT)
“Preppy”{
@ELI changes into Eli_Double_Date_1
@ELI is dustoff_neutral_loop
@ELI is idle
}
“Comfy”{
@ELI changes into Eli_Double_Date_2
@ELI is dustoff_neutral_loop
}
“Nice Casual”{
@ELI changes into Eli_Double_Date_3
@ELI is dustoff_neutral_loop
@ELI is idle
}
“Patrick Swayze”{
@ELI changes into Eli_Double_Date_4
@ELI is dustoff_neutral_loop
&ELI is dustoff_neutral_loop
@ELI is idle
}
ELI (talk_shrug_concerned)
Do I like this?
choice
“Yes”{
ELI (talk_agree_happy)
Yeah! This will do.
@ELI is idle
}
“No”{
goto outfits
}
@overlay YORKIE create
@overlay 4622478262796288_YORKIE shifts to 37 10 in zone 2
@overlay 4622478262796288_YORKIE scales to 0.749 0.749
@overlay YORKIE opacity 1 in 0
sound dog_bark
@pan to zone 2
@pause for a beat
@cut to zone 1
ELI (talk_squat_wave)
Hey Brandy!
ELI (talk_handraised_happy_loop)
Come here girl.
@pause for a beat
@overlay YORKIEDOWN create
@overlay 4622478262796288_YORKIEDOWN shifts to 15 5 in zone 2
@overlay 4622478262796288_YORKIEDOWN scales to 0.550 0.550
@overlay YORKIEDOWN opacity 1 in 0
@overlay YORKIEDOWN moves to layer -1
@cut to zone 2
@overlay YORKIE clear
@pause for 3
@cut to zone 1
@ELI moves to layer 2
ELI (talk_armscrossed_angry_loop)
Oh, I see how it is. Your gonna make me come to you.
@ELI walks to spot 1.280 -17 50 in zone 2
&pan to zone 2
@ELI is pet_kneel_happy_loop
@pause for a beat
@ELI is transition_squat_to_stand_neutral
ELI (talk_shrug_concerned)
So Brandy, do I look good?
if (OUTFIT is Preppy){
@zoom on 375 0 to 327% in 2
@pause for a beat
@zoom on 0 0 to 119% in 0
@ELI is eyeroll_sarcastic
ELI (talk_doubtful)
Your a dog. What do you know?
@pause for 4
}
elif (OUTFIT is Comfy){
@zoom on 375 0 to 327% in 2
@pause for a beat
@zoom on 0 0 to 119% in 0
@ELI is eyeroll_sarcastic
ELI (talk_doubtful)
Your a dog. What do you know?
@pause for 4
}
elif (OUTFIT is Patrick Swayze){
@zoom on 375 0 to 327% in 2
@pause for a beat
@zoom on 0 0 to 119% in 0
@ELI is eyeroll_sarcastic
ELI (talk_doubtful)
Your a dog. What do you know?
@pause for 4
}
elif (OUTIFT is Nice Casual){
@zoom on 375 0 to 327% in 2
@pause for a beat
@zoom on 0 0 to 119% in 0
@ELI is eyeroll_sarcastic
ELI (talk_doubtful)
Your a dog. What do you know?
@pause for 4
}
else {
continue
}
sound doorbell
ELI (talk_shrug_neutral)
That must be Andrea.