DARA’S GUIDE: The Points System

can i get help with this scene i want to have so that if they only can get this choice if they have more than 3 points. but it keeps saying i cant

label dhjjis
JANE
(i got my break now. should i just leave for that or got talk with him)
choice
“talk with him” {
if (BGWOMAN3 > 3) {

@MR LORATO +1
JANE
Hey are you okay?

WADE

Do I look okay?

JANE

Okay can I be frank?

WADE

Sure.

i did jump some of the text

}
else {
NARRATOR
Cause of an early choice you can not do this
goto dhjjis
}
}

You have to put separate choices inside the if/else.
The unlocked choice goes inside the “if” code for more than 3 points, and the locked choice goes inside the “else”

if (BGWOMAN3 > 3) {

JANE
(I got my break now. Should i just leave for that or got talk with him?)
choice
“Talk with him” {
@MR LORATO +1
JANE
Hey are you okay?
WADE
Do I look okay?
JANE
Okay can I be frank?
WADE
Sure.
}

} else {

JANE
(I got my break now. Should i just leave for that or got talk with him?)
choice
<LOCKED> "Talk with him” {
NARRATOR
Sorry, you cannot do this because of an earlier choice.
}
}

2 Likes

Is there a way to add a greater than or equal to?

You just use the symbols in the coding: > , < , =

Example:

IF (@CHARACTER > 5){
}

IF (@CHARACTER = 5){
}

Umm… how can you show the reader the amount of points they have at the end of the Episode?

you’d have to manually code it up to the max amount of points they can have. so if they can get a max of 3, you’d do it like this

example:
if (character = 0){
NARRATOR
You have 0/3 points
}
elif (character = 1){
NARRATOR
You have 1/3 points
}
elif (character = 2){
NARRATOR
you have 2/3 points
}
else {
NARRATOR
you have 3/3
}

2 Likes

Do you know how to allow the reader to see their points with other characters at the end of a episode?

The example above that I did is the way to do it.

So, if I do this;

if (CODY>4) {
KARA )(talk_awkward_loop)
Cody, please stay with me tonight.
} elif (CODY<5) {
KARA (talk_think)
Can you ask a guard to stay at my door?
}

And you have 3 cody points, the first option is locked?

1 Like

Second one should be else on its own.

So instead of elif it’s else?

Yes. You only need elif if you have different outcomes planned for different points. But if it’s just two, it’s just if/else.

Thank you! Im gonna check it when Episode fix the error in the writers portal :crazy_face:

1 Like

Sorry he keeps giving a error.
That I need to add a choice?

I want it to be
more then 4 points go with Cody
less then 4 points stay at the castle.

But it doesn’t work?

You shouldn’t need to add a choice. The error must be elsewhere in your script.

No there isn’t.

Till that moment there isn’t a error :woman_shrugging:t3:

error

Okay, so since I kind of have a hard time with logical thinking… I’ll ask this:
In the first example, the one you showed us with the @BOY +2/ BOY (behavior) -2 command, it will add points to him/his relationship with the girl, but IF I got this right (a bit), the one you explained on the comments with the two love interests case, would mean that we need to add the points to each love interest, like we would do with the FRIENDSHIP, LOVE, etc, characters in case we’d like our MC to have said traits and gain/lose points in these areas, and if we want those points to affect their relationship with our MC (in this case) then we just need to use the if/elif/else command and putting - for example: (MC >/</#) or (CHAR1 > CHAR2), the first one using the BOY-GIRL example and the last one using the 2 LI example.

I believe you forgot to “skip” a line before the else or something, since the arrows aren’t looking the right way. Right now it looks like your if and else are in the same storyline, if you know what I mean?
You should probably add a } somewhere … I don’t know. Personally I just try to “play” with the coding and the lines until I find a solution :woman_shrugging:t2:

Wait… maybe you should try to change the 5 into a 4 or the other way around? I think that must be it.