Help using the if/else

I’d recommend using gains. Your code would look like this:

label outfit

NARR
What do you want to wear?
choice
“OUTFIT 1”{
@CHAR is undress_top
@CHAR changes into OUTFIT 1
@pause for a beat
&CHAR is idle
NARR
Is this what you want to wear?
choice
“Yes!” {
gain OUTFIT 1
} “On second thought…”{
goto outfit
}
} “OUTFIT 2”{
@CHAR is undress_top
@CHAR changes into OUTFIT 2
@pause for a beat
&CHAR is idle
NARR
Is this what you want to wear?
choice
“Yes!” {
gain OUTFIT 2
} “On second thought…”{
goto outfit
}
} “OUTFIT 3”{
@CHAR is undress_top
@CHAR changes into OUTFIT 3
@pause for a beat
&CHAR is idle
NARR
Is this what you want to wear?
choice
“Yes!” {
gain OUTFIT 3
} “On second thought…”{
goto outfit
}
}

Then, to remember the choice it would look like this

if (OUTFIT 1){
@CHAR changes into OUTFIT 1
} elif (OUTFIT 2){
@CHAR changes into OUTFIT 1
} else {
@CHAR changes into OUTFIT 1
}

1 Like