HELP- point counter at the end of chapter

Hi guys :slight_smile:

I am making a counter at the end of my chapter and I could really use some help because it’s not working. I either get the character number as the amount of points if they have 0, or it says 0 when they actually have points! I don’t know what I am doing wrong. Here is what I have:

label checkpoints_personality

&RYLAN spot 1.853 -327 -234 in zone 1
NARRATOR
Which points would you like to look at?

choice “Anger” {

if (ANGER = 0) {

    NARRATOR
You have 0 Anger point(s).

goto checkpoints_personality

} else {
NARRATOR
You have [5152082200559616] Anger point(s).

goto checkpoints_personality

}

} “Attitude” {

if (@ATTITUDE = 0) {

    NARRATOR
You have 0 Attitude point(s).

goto checkpoints_personality

} else {

    NARRATOR
You have [5069420781830144] Attitude point(s).

goto checkpoints_personality
}

} “Friendliness” {

if (@FRIENDLINESS = 0) {

    NARRATOR
You have 0 Friendliness point(s).

goto checkpoints_personality

} else {
NARRATOR
You have [5849127819345920] Friendliness point(s).

goto checkpoints_personality
}

} “Jealousy” {

if (@JEALOUSY = 0) {

    NARRATOR
You have 0 Jealousy point(s).

goto checkpoints_personality

} else {

    NARRATOR
You have [5283502050967552] Jealousy point(s).

goto checkpoints_personality
}

} “That’s all” {

goto checkpoints

}

Remove the ‘@’ inside the brackets :slight_smile: The first choice with Anger is correct but for some reason you used @ for the reat :thinking:

1 Like

Dang it! I think I started changing them from one way to another and then for whatever reason I guess I didn’t even realize!

face palm

thanks so much!! that worked perfectly for most! For some reason Jealousy is still screwing up… did I mess something up again? When I test it with 0 points it says the character number again…

1 Like

It may be a previewer issue. Make sure to set the points back to default when you preview.
There’s a button on the right ‘Story Modifiers’ then click on the ‘Character Points’ and the set the points you want to test. :slight_smile:

Oh okay, I think that you’re right! :relaxed: thanks so much!!

1 Like

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