Point system branch help needed please

I’m sure the title sounds confusing but it’s confusing to me as well. I’ll try to explain it in the simplest way that I can… In my story I’m using the point system and the episode I’m currently coding I want to use the point system to have the readers unlock a scene if they have enough points with a certain character. How would I code that exactly?
Right now I have it set up as them picking between two choices and one gives them +1 with a certain character since it involves art :eyes:. But the way I want it is if you have >+3 with that certain character you get to see the art right away and if you don’t you have the choice to pay with gems to see

Here…let me know if it shows any error or doesn’t work.

if (POINTNAME<3) {
#Scene here

} else {
NARR
Oops, looks like you don’t have enough points to unlock the art scene.

NARR
Would you like to see the art scene with gems? (You’ll also get one point)
choice
<GEMS:Amount of gems you want>“Yes!” {
@POINTNAME +1
#Scene here

} “Nope.” {

}
}

1 Like

I’ll definitely try this out and let you know :relaxed:

1 Like

An error showed up under the gems?

Since there is a gem choice, you’ll need to name the choice:

choice (ChoiceName)
<GEMS>"Yes."{

}"No."{

}
1 Like

Yeah, it did tell me that too, but I figured it out I had the same if/else repeating at the end of my script. I forgot to delete it before saving it, silly me :nerd_face:

2 Likes

That is great !!

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