So, I’m doing a scene that goes like this: The girl chooses a dress (option 1/2), later the guy gives her his jacket. I want the dress to match the choice, so I was wondering, is there any way we can make it so that she switches to the second outfit according to the original choice?
Use if/elif/else to remember the outfits, then just ask again which outfit they chose? Idk
ok so to be more in depth
originally when you have the first outfit choice, it has a label. you need to use that label for the if/elif/else code.
this is what it would look like
CHARACTER (animation)
What do I want to wear?
choice (LABEL) <<<< you need whatever is in here
“Outfit 1” {
@CHARACTER changes into Outfit1
} “Outfit 2” {
@CHARACTER changes into Outfit2
} “Outfit 3” {
@CHARACTER changes into Outfit3
}
make duplicates of all the outfits you made for the original choice except add the jacket this time. then you do
if (LABEL is “Outfit 1”) {
@CHARACTER changes into Outfit1
} elif (LABEL is “Outfit 2”) {
@CHARACTER changes into Outfit2
} else {
@CHARACTER changes into Outfit3
}
except make the outfit choices the duplicate versions.
hope that makes sense!
This is probably a silly question, but how do we know if that worked? Because I’ve done that exactly, but then when I see it on my app or phone, nothing changes
did you try replaying from the first choice? and you might have to exit and re enter
I have! Here’s the code I used for the choice
label dressing_game8
@speechbubble reset
NARRATOR
Pick a dress for Ana’s “non-date”.
choice “Flowy Red”{
@ANA is dustoff_neutral_loop
@pause for 1.5
@ANA changes into ANA_date1
@ANA is dustoff_neutral_loop
@pause for 2
goto decide
}
“Tulle Blue”{
@ANA is dustoff_neutral_loop
@pause for 1.5
@ANA changes into ANA_date2
@ANA is dustoff_neutral_loop
@pause for 2
goto decide
}
label decide
ANA (think_rubchin)
(Should I wear this?)
choice
“YES!”{
}
“No, next outfit.” {
goto dressing_game8
}
and then the code I used for the outfit with the jacket
if (dressing_game8 is “Flowy Red”){
@ANA changes into ANA_date1-2
}
elif (dressing_game8 is “Tulle Blue”){
@ANA changes into ANA_date2-2
}
ok im not sure if this is it but you shouldn’t use the label “dressing_game8” what you need to do is where you have the first choice (next to it you have Flowy Red) i think you should have a name for the choice so for example lets say you name it non_date_dress. you would make the code look like this:
choice (non_date_dress)
“Flowy Red”{
and then you keep the same as the rest
then for the if/elif/else you do
if (non_date_dress is “Flowy Red”){
@ANA changes into ANA_date1-2
Thank you so much!