Remembering outfit 1 after flashback and outfit change?

Hi guys,
basically, in my scene, the character picks an outfit for the present and there is then a flashback into the past which includes an outfit change. How can I code it so the present outfit is automatically chosen once the flashback is finished?

1 Like

You could do it by using gains.When the reader firt chooses the outfit add
gain nameofgain

Later when the scene changes from flashback to present again, just code:

if (nameofgain){

@CHARACTER changes into outfit

}

1 Like

Hi, thank you for the help!
So for an example this is my choice:
label dressing_game_1

    CLAUDIA (react_facepalm_disappointed)
What do I want to wear?

choice (OUTFIT_1)
“Outfit 1” {
@CLAUDIA changes into CLAUDIAPARTY1
#add your own dialogue and animations

} “Outfit 2” {
@CLAUDIA changes into CLAUDIAPARTY2
#add your own dialogue and animations

} “Outfit 3” {
@CLAUDIA changes into CLAUDIAPARTY3
#add your own dialogue and animations
}

    CLAUDIA (flirt_fingerbite_sexy)
Do I want to wear this one?

choice
“It’s perfect!” {
#add your own dialogue and animations

} “No, I want to try on the others!” {
goto dressing_game_1
}

Where would I put the gain? :slight_smile:

In order to add the gain you’d have to switch your code up a bit.
label dressing_game_1
CLAUDIA
What do I want to wear?
choice (OUTFIT_1)
“Outfit 1”{

@CLAUDIA changes into CLAUDIAPARTY1

            NARRATOR

Are you sure this is what you want to wear?
choice
“yes”{
gain outfit_1
}
“no”{}

1 Like

For this you could use the previews command. Somewhere before the flashback scene, put
@CHARACTERNAME previews outfit OUTFITNAME

That should make them change into the temporary flashback outfit and you can simply reverse it after a flashback to bring it back to what they were wearing earlier with
@CHARACTERNAME unpreviews outfit OUTFITNAME

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.