Tara explains: Ifs, elses, gains, labels, gotos and the points system!

Unfortunately a shortcut for this doesn’t exist at the minute - the only way is to use lots of if/else coding so that if the reader has a certain number of points then a narrator box says a message announcing this number of points. But creating that coding can be time consuming if there are lots of points up for grabs in your story!

Thank you for this guide, @TaraStar. I really wanted to know more about the points system.

1 Like

No problem, I’m glad to help!

1 Like

IF my story had three romantic choices, how would I use points or gain to decide who the character will end up with?

1 Like

Hi, @TaraStar, I have a question.
How can I use points to compare characters? Like if CHARACTER1 and CHARACTER2 have the same points or not, stuff like that.
And also, how could I reset gains and points?

1 Like

You can’t reset gains/lose them-once they are gained, they are there for good : )

Although, you could like this thread that supports losing gains:

But yes, there is a way to reset points:

@CHARACTER =0

*CHARACTER is just an example; it can be any person that is part of your story, like the character YOU.

@YOU =0

Once you write this, it automatically clears any points that the character earned and resets their points gained back to 0.

Another thread that explains the point system:

Anyway, good luck with everything!

4 Likes

Personally, I would use a points system and allocate points to each of the love interests as the MC and love interest bond/get closer. When a certain number of points has been reached, I’d then let that decide to unlock special scenes with love interests, and depending on the number of points each love interest had, then that would decide who you end up with. I’m not an expert on this, so I’d maybe recommend heading over to Episode help pages on Instagram and sending them a DM so they can try and tailor what method you would use to your story.

1 Like

Hi there,

I have a question about the point system.
When I use the (@YOU >1) option it does go through the scene I made. But When the scene comes to an end It cuts of the story. It won’t continue to what I made after the } .

Do you perhaps know what to do about this?

1 Like

Is this correct?
Also do I have to make a not somewhere in the game to where to earned the point? Or possibly make a label like you do with the choosing clothes game?

choice 
"Tell him" {

    MELODY (talk_armraised_sad)
Someones been sending me some weird messages 
    MELODY (talk_whisper_unsure)
    Then they sent me a dead rat 
    
    
    TROY (talk_confused_mindblown)
    A Dead Rat! 
    
    
    TROY (talk_explain_neutral)
    Look maybe it's just some weird kid crushing on you 
    
    
    TROY (talk_agree_happy)
    I'll keep an ear out for you 
    
   
    MELODY (talk_sheepish_rubneck)
    Thanks Troy that means alot 
    @MELODY +1
    }
 "Lie" {
    
    
    MELODY (talk_apathetic)
    Oh just walking around 
    
   
    TROY (talk_unsure)
    Umm okay. 
    
    
    TROY (talk_apathetic)
    April told me about the weird stuff happening 
    
    
    MELODY (talk_complain_angry)
    Nothings happening, I'm fine 
    
    
    TROY (talk_agree_happy)
    Okay, I'll keep an ear out for you just in case
    
    
    MELODY (talk_sheepish_rubneck)
    Sure Troy 
    @MELODY -1 

}

1 Like

I’m not entirely sure if this has anything to do with this thread but. If you have a choice, for example, “This story uses strong language, are you ok with this?” “Yes or No.” If they pick NO, how would you change the story from all the strong language?

1 Like
    NARRATOR
This story uses strong language, are you ok with this?

choice
“Yes”{
gain bad_words

}“No”{

gain no_bad_words
}


then later:

if (bad_words) {
NARR
Strong language dialogue

} else {
NARR
No strong language dialogue
}
#continue story

you have to bring the if/else every time when you use strong language

1 Like

I just copied and pasted yours and this is what it says
06%20AM

1 Like

The “m” in readerMessage needs to be capitalized.

1 Like

ohhh thanks!

1 Like

That coding seems fine to me, but test it out on your portal just to make sure. You don’t have to create a specific game for the reader to earn points - the coding you’ve using of @CHAR +1 is fine and should work, and but you’ll need to use the if command (and maybe gains) if you want to refer back to the points a character has later on in the story.

Hmmm, I’m not quite sure what you mean… could you describe in a bit more detail the error that appears and I’ll try and help you if I can!

Bump :grin:

1 Like

So if I had this in my story and then I wanted to have a choice using the point system but if you didn’t get enough points one of the choices would be locked. How would I do that?

1 Like

Hey, this was really helpfull! But I’m afraid I need some extra help,
Can you have two different scores for the same character? I want the MC in my story to gain points when she makes good or bad decisions, how can I do that?

1 Like

Check out: The Points System

You can make them either lose or gain points (-1, 1, etc.) by writing something like:

@MC +1
For when a positive choice is selected.

or:
@MC -1
For when a negative choice is chosen.

Or you can even create two new characters and name then anything like GOOD, BAD and make a point systems category based on that. So, if they do bad actions, they gain BAD points, if they do good actions, they gain GOOD points.

Hope it makes sense what I’m trying to say ^^

2 Likes