POINT SYSTEM-only showing one path

Hi everyone! So I’ve been reading @Dara.Amarie template about point systems and for some reason, I still can’t get mine to work. The points add up fine, but no matter what, I keep getting the same result.

Here is my code

if (DAREDEVIL < CAUTIOUS) {
readerMessage Calculating Points
@pause for 2
readerMessage Because you’re cautious, Hydel is not outwardly rude
@pause for 2
&remove JACQUELINE
&HYDEL spot 1.208 253 -19 in zone 2
HYDEL (talk_armscrossed_condescending_loop)
How nice of you to actually notice SOMETHING about me for a change
&remove HYDEL
&JACQUELINE spot 1.208 253 -19 in zone 2 and JACQUELINE is idle_terrified_loop
VICTOR (talk_startled_neutral)
What’s that suppose to mean?
JACQUELINE (talk_afraid)
I’m so sorry dad
&JACQUELINE moves to layer 2
&JACQUELINE walks to spot 1.208 244 -38 in zone 1 and JACQUELINE does it while run_cry_embarrassed_loop
JACQUELINE
I didn’t mean it!
} elif (DAREDEVIL > CAUTIOUS) {
readerMessage Calculating Points
@pause for 2
readerMessage Because you’re a daredevil, Hydel response is blunt
@pause for 2
&remove JACQUELINE
&HYDEL spot 1.208 253 -19 in zone 2 and HYDEL is react_angry_shakefists
@pause for a beat
HYDEL (talk_armscrossed_angry_loop)
How about actually taking time to pay attention to me
Instead of making assumptions about things you know nothing about!
&remove HYDEL
&JACQUELINE spot 1.208 253 -19 in zone 2 and JACQUELINE is idle_terrified_loop
VICTOR (talk_startled_neutral)
What’s that suppose to mean?
JACQUELINE (talk_afraid)
I’m so sorry dad
&JACQUELINE moves to layer 2
&JACQUELINE walks to spot 1.208 244 -38 in zone 1 and JACQUELINE does it while run_cry_embarrassed_loop
JACQUELINE
I didn’t mean it!
} else {
readerMessage Calculating Points
@pause for 2
readerMessage Because you’re a indifferent, Hydel response is a little rude
@pause for 2
&remove JACQUELINE
&HYDEL spot 1.208 253 -19 in zone 2 and HYDEL is react_angry_shakefists
@pause for a beat
HYDEL (talk_armscrossed_angry_loop)
How about actually taking time to pay attention to me
Instead of making assumptions about things you know nothing about!
&remove HYDEL
&JACQUELINE spot 1.208 253 -19 in zone 2 and JACQUELINE is idle_terrified_loop
VICTOR (talk_startled_neutral)
What’s that suppose to mean?
JACQUELINE (talk_afraid)
I’m so sorry dad
&JACQUELINE moves to layer 2
&JACQUELINE walks to spot 1.208 244 -38 in zone 1 and JACQUELINE does it while run_cry_embarrassed_loop
JACQUELINE
I didn’t mean it!
}

I’ve tried using numbers instead of comparisons, I’ve tried switching the order…but I keep getting the Daredevil option even if I only select the Cautious responses. All help would be appreciated. Thank you!

1 Like

Try making the if statement, like this.

if (CAUTIOUS > DAREDEVIL) {

Also remember to reset the character points manually through the previewer.

I’m not 100% certain if either of those are the problem however.

Nope no go :pensive: but thank you for trying!

It looks about right to me glancing at it, so maybe as HoneyBee was saying, the issue is that you need to reset your character points manually when you play through each one.

If you don’t know how to do that, click on story modifiers, character points, and click on the points you just gained and put it back to 0, save it and make sure both the cautious and daredevil are at 0 points and then replay it from the beginning where you can gain points.

1 Like

Yes I’ve done that as well. Tried on both the cpu and app, resetting multiple time and still no go. I really have no clue what’s wrong with it :tired_face:. Thank you for you insight tho!

1 Like

:pleading_face: aww, I’m sorry. What does it look like for when they gain points? Like how do you have it coded for when they can gain cautious points?

I’ve just tested this coding out in my portal, it works perfectly. So the issue you’re having isn’t coming from this if/ elif/ else statement unfortunately.
Perhaps it is something wrong with the added points towards the characters.

1 Like

i think you need labels…

(goto label_name)

[quote=“oc_episodes, post:1, topic:461974”]
if (DAREDEVIL < CAUTIOUS) {
readerMessage Calculating Points
@pause for 2
readerMessage Because you’re cautious, Hydel is not outwardly rude
@pause for 2
&remove JACQUELINE
&HYDEL spot 1.208 253 -19 in zone 2
HYDEL (talk_armscrossed_condescending_loop)
How nice of you to actually notice SOMETHING about me for a change
&remove HYDEL
&JACQUELINE spot 1.208 253 -19 in zone 2 and JACQUELINE is idle_terrified_loop
VICTOR (talk_startled_neutral)
What’s that suppose to mean?
JACQUELINE (talk_afraid)
I’m so sorry dad
&JACQUELINE moves to layer 2
&JACQUELINE walks to spot 1.208 244 -38 in zone 1 and JACQUELINE does it while run_cry_embarrassed_loop
JACQUELINE
I didn’t mean it!

goto after_daredevil

} elif (DAREDEVIL > CAUTIOUS) {
readerMessage Calculating Points
@pause for 2
readerMessage Because you’re a daredevil, Hydel response is blunt
@pause for 2
&remove JACQUELINE
&HYDEL spot 1.208 253 -19 in zone 2 and HYDEL is react_angry_shakefists
@pause for a beat
HYDEL (talk_armscrossed_angry_loop)
How about actually taking time to pay attention to me
Instead of making assumptions about things you know nothing about!
&remove HYDEL
&JACQUELINE spot 1.208 253 -19 in zone 2 and JACQUELINE is idle_terrified_loop
VICTOR (talk_startled_neutral)
What’s that suppose to mean?
JACQUELINE (talk_afraid)
I’m so sorry dad
&JACQUELINE moves to layer 2
&JACQUELINE walks to spot 1.208 244 -38 in zone 1 and JACQUELINE does it while run_cry_embarrassed_loop
JACQUELINE
I didn’t mean it!

goto after_daredevil

} else {
readerMessage Calculating Points
@pause for 2
readerMessage Because you’re a indifferent, Hydel response is a little rude
@pause for 2
&remove JACQUELINE
&HYDEL spot 1.208 253 -19 in zone 2 and HYDEL is react_angry_shakefists
@pause for a beat
HYDEL (talk_armscrossed_angry_loop)
How about actually taking time to pay attention to me
Instead of making assumptions about things you know nothing about!
&remove HYDEL
&JACQUELINE spot 1.208 253 -19 in zone 2 and JACQUELINE is idle_terrified_loop
VICTOR (talk_startled_neutral)
What’s that suppose to mean?
JACQUELINE (talk_afraid)
I’m so sorry dad
&JACQUELINE moves to layer 2
&JACQUELINE walks to spot 1.208 244 -38 in zone 1 and JACQUELINE does it while run_cry_embarrassed_loop
JACQUELINE
I didn’t mean it!
}

label after_daredevil

you can also put a number instead.

Here is an example of my coding and it works.

readerMessage Calculating Xander Points…

if (Alexander >0) {

readerMessage Alexander will be welcoming! with messageTitle Congrats!

@remove Spell Book Open Grey Black from ALEXANDER

@ALEXANDER starts react_sit_armscrossed_surprised_mild

@ELIANA faces right

@speechbubble is 192 409 to 100% with tail_bottom_left

    ELIANA (wave_extreme)
Hey stranger! Long time no see!

    ELIANA (talk_armsraised_neutral)
What're you doing here?

@ELIANA spot 1.032 65 76 in zone 1 and ELIANA starts transition_stand_to_squat_neutral
@ELIANA moves to layer 3

@speechbubble is 140 139 to 100% with tail_top_right

    ALEXANDER (talk_sit_reassure_happy)
Hey there Eliana, didn't think I'd see you here.

@pause for 2

@transition fade out black in 2

goto end_chapter

} else {

readerMessage Low points, Alexander will be distant.

@remove Spell Book Open Grey Black from ALEXANDER

@ALEXANDER starts react_sit_armscrossed_surprised_mild

@ELIANA faces right

@speechbubble is 192 409 to 85% with tail_bottom_left

@ALEXANDER starts idle_sit_armscrossed_unimpressed_loop

    ELIANA (talk_greet_shy)
Hey Alexander, it's nice to see you.

    ELIANA (talk_explain_neutral)
How are you?

@zoom on 237 208 to 227% in 0

@ELIANA starts idle

@speechbubble is 113 133 to 98% with tail_top_right

@ALEXANDER spot 1.182 210 -45 in zone 1
@ALEXANDER moves to layer 2

    ALEXANDER (eyeroll_sarcastic)
(Cr*p, not this chick.)

@pause for 2

@transition fade out black in 2

}

label end_chapter

just tried adding labels and numbers instead of the comparison. Still no go. Tried changing the coding for when the points were added too. I think I may have to submit a ticket to episode. Thanks for this!

1 Like

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