Is this the correct way for players to check points?

I haven’t used the point system in a while (or at least where the players can check them). It says that there’s an unexpected character, which is NARRATOR. Here’s the code:

INT. WHITE
@zoom reset
@speechbubble reset

label start_check_points

    NARRATOR
Would you like to check your points?

choice
“Yes”{

goto yes_check_points

}
“No”{

goto end_check_points

}

label yes_check_points

    NARRATOR
Which points would you like to check?

choice
“Confideence”{

goto check_confidence_points

}
“Stealth”{

goto check_stealth_points

}

label check_confidence_points

if(CONFIDENCE =0){

    NARRATOR
0/3

}elif(CONFIDENCE =1){

    NARRATOR
1/3

}elif(CONFIDENCE =2){

    NARRATOR
2/3

}else{

    NARRATOR
3/3

}

goto start_check_points

label check_stealth_points

if(STEALTH =0){

    NARRATOR
0/3

}elif(STEALTH =1)

    NARRATOR
1/3

}elif(STEALTH =2)

    NARRATOR
2/3

}else{

    NARRATOR
3/3

}

goto staart_check_points

label end_check_points

    NARRATOR
End

I know I’m doing something wrong. What is it? Thanks. :slight_smile:

Can you show a screenshot of your script that shows the error?

You forgot opening the curly bracket

Here is the same thing

There’s another way to check points, too, that doesn’t require that branching. You’d simply do…

NARR
[Character code]/3 points

Character code can be found at the end of a character’s feature page (under edit characters), it’s the entire number after the link.

1 Like

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