Need help with advanced choices!


#1

I’m stuck on advanced choices. In the first chapter I let the reader choose their outfit, and at the start of the second chapter I need them to wear the outfit that was picked. This is what I’ve got so far:

if (firstday is “1”) {
@ERIN changes into ERIN_
}
elif (firstday is “2”) {
@ERIN changes into ERIN_2
}
else (firstday is “3”) {
@ERIN changes into ERIN_3
}

If anyone notices something I’m doing wrong, please let me know.
Also the error says:
Unexpected expression: did you leave you the word choice or forget to put a character name in full caps?

Hope you guys can help! <3


#2

I use something else for clothing.

if (CHARACTER wears outfit1) {
gain outfit1
}elif (CHARACTER wears outfit2) {
gain outfit2
} else{
gain outfit3
}

Hope this helped :slight_smile:


#3

I’ll try it. Thanks for the help xx


#4

Moved to Directing Help & Tips as that’s where scripting questions live! Did it work @Dizzydiamond? :slightly_smiling_face:


#5

The error message is telling you that else needs to be by itself with nothing in parentheses next to it. Also, how you write the if/elif/else depends on how you wrote the outfit choice from the previous episode. HOW TO: Remember Past Choices (if/elif/else)


#6

I managed to figure it out! It turns out I put else instead of else if. thanks for asking xx


#7

Glad this got resolved! Closing :v:t2:


#8