Point system, In desperate Need of help Please!

Hello So, I trying to write My second story and I want it to be on a point system, (Its something new to me)
I have got 90% of it, HOWEVER the character has 4 different choices
one can give -2 one, -1 one +1 and one +2
so there needs to be 4 different outcomes when it gets to the end.

I have u tube on how to do this and it says you have to put this below:
“if (EXMAPLE >0){
}else{
}”
But this is just for 2 outcomes, I need this for 4, Does anybody know how the coding for 4 different outcomes PLEASEEEEEE??? :slight_smile:

Yes! You can do it in this format:

If {
}
elif {
}
elif {
}
}else{

If is always first, elif, is second or third or fourth and so on… and else is always last.

I hope this helped!

so when I put the If it does it need to be like this then
if (EXAMPLE>0{
}
elif {
}
elif {
}
}else{
where do I put the > and the 0 or 1 or whatever? It will not calculate which choice they have picked for which option…?

1 Like

Yeah so put in the condition after the if.
And for the rest of them ( elif elif and else)
Sorry I forgot to explain.

if (EXAMPLE>0{
}
elif(condition) {
}
elif(condition) {
}
}else{

so does it have to be
if (EXAMPLE>0){ (FOR +1)
}
And then for the rest do i have to put the below
elif (EXAMPLE>1){ (For +2)
}

elif (EXAMPLE<0){ (For -1)
}

else (EXAMPLE<1){ (For -2)
}

is this correct?

Check out this ‘how to’ by the knitters. Explains how to use the point system in full detail including multiple conditions and complicated branching for different point totals :blush:

1 Like

Think I got it, I replayed it and it looked liked it worked and reading that it says what I put above, thank you @Jade.epi x

1 Like

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