Trouble with remembering Choices

I read the article about remembering choices and I decided to give it a shot. But, it came up with an error that said: “Unexpected IF: if.” Here’s my script.

YOUNG HAILEY (talk_think)
(Is she okay?)

choice

if (CHOICE is “Back away.”) {

YOUNG HAILEY
(Actually, I shouldn’t because I don’t want her to get suspicious of me.)

@YOUNG HAILEY is deepbreath

}

} else (CHOICE is “Ask her.” {

YOUNG HAILEY (talk_sheepish)
You don’t seem fine to me, is something wrong?

&YOUNG BAILEY faces left

YOUNG BAILEY (talk_sit_neutral_deny)
Look, I asked you to leave me alone.

YOUNG BAILEY (talk_sit_doubtful)
So, leave me alone!

@YOUNG BAILEY is eyeroll_subtle THEN YOUNG BAILEY is idle_read_phone_neutral

{

Can someone guide me and explain how to do it correctly? Thank you! :slight_smile:

Should be like this

YOUNG HAILEY (talk_think)
(Is she okay?)

choice
“Back away”{
YOUNG HAILEY
(Actually, I shouldn’t because I don’t want her to get suspicious of me.)

@YOUNG HAILEY is deepbreath

}”Ask her”{

YOUNG HAILEY (talk_sheepish)
You don’t seem fine to me, is something wrong?

&YOUNG BAILEY faces left

YOUNG BAILEY (talk_sit_neutral_deny)
Look, I asked you to leave me alone.

YOUNG BAILEY (talk_sit_doubtful)
So, leave me alone!

@YOUNG BAILEY is eyeroll_subtle THEN YOUNG BAILEY is idle_read_phone_neutral
}

Thank you so much, it worked! :slight_smile: I’ll keep that in mind, next time.

1 Like

If you want the script to remember this choice in the future you would either need to add a name for this choice like this-

choice (CHOICE NAME HERE)
“Back away”{
scene
}”Ask her”{
scene
}

if(CHOICE NAME HERE is “Back away”){
scene
}else{
scene for “Ask her” goes here
}

OR you can use gains like this-

choice
“Back away”{
gain back_away
scene
}
“Ask her”{
gain ask_her
scene
}

if(back_away){
scene
}else{
scene for ask_her goes here
}

Hope this has helped :see_no_evil:

1 Like

Ooh okay, thanks! Last question, can you give me an example of how the point system would work in my scene? I would gladly appreciate it.

1 Like

I haven’t used points but Dara has a post that explains it all :slight_smile:

The Points System

1 Like

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