Help Remembering Past Choices Scene

Hello,
I’m doing a scene where I have a choice where a character can choose to stay the night or leave and I need to have the choice remembered for the next episode but i keep getting an error where it says ERROR: Unexpected IF: if
here’s my script:

LAUREN (talk_unsure)
Will you stay with me tonight?
choice (SLEEP)
if (SLEEP is “Yes”) {

[dialogue]

else (SLEEP is “No”) {

[dialogue]

}

I have looked at many other topics but I still have no idea why it’s not working. I could be overlooking something very obvious but if someone could help that’d be great!

1 Like

You’re mixing the choice with the if/elif/else, which is not correct. You need to have the choice first. The if/elif/else is used for later when you want to remember that choice.

Read this guide: HOW TO: Remember Past Choices (if/elif/else)

1 Like

Oh okay! Thank you, sorry about the stupid question!

1 Like

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