Question about the points system

In the story I’m writing, I am heavily using the points system. I was wondering if there’s a way that I can use multiple characters’ points for one “if” statement?

I don’t really know how to word this, lol. Would it be possible to write an “if” that depends on two or more characters’ points instead of just depending on one character’s points?

i don’t think so, but maybe

I would use gains and labels to help, like for example character 1 needs 20 point and character 2 needs 10 points.

first you code gain when your characters got enough point,

if (CHARACTER1<20){
goto not_enough_points (you can change this as well)
(you wouldn’t need anything else here because one of the characters didn’t have enough points)
} elif (CHARACTER1>20)
contiune
}

if (CHARACTER2<10) {
goto not_enough_points
(you wouldn’t need anything else here because one of the characters didn’t have enough points)
} elif (CHARACTER>10) {
goto both_enough_points (you can change this as well)
}

label both_enough_points
special scene happens here

label not_enough_points
the rest of episodes continues

Thank you so much for this reply!!

Just wondering, how could I do this same thing with more than two characters? In my story there are five characters whose points I’m going to track, so if I wanted to do this with all of their points, could I use this format?

1 Like

You can do this for as many characters you want.

check out this answer here :slight_smile: you would need to use nested choices

Sweet, thanks so much!!

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