Tara explains: How to have choices that matter without any complex coding!

team work :joy:

1 Like

Thank you all so much! Ugh you are my coding heroes :kissing_heart:
@Dara.Amarie @Dona_H

This helped me so much! Thankyou

So im currently doing a story and i have 4 love intrest and their names are emilio zyne forrest and lane and my problem is that i dont quite know how to make the reader make the decision on who they want to be with and my other problem is how do i make the love choice stay throughout the story and if the mc wants to stay with the love choice they choose or not later on in the story

1 Like

Hi I know this is an old topic but I really need help with this! I’m using your method and I see that you have like 5 consequences but I only need 2 so I deleted three of them but when I go through my story it just skips the consequences all together
I’ll show how I placed it

    NARRATOR (KATHERINE)
Should I tell her about last night?

choice (TRUTH OR LIE)
“I shouldn’t tell her! What if it hurts her feelings?”{

(it would be too long so I’ll keep the dialogue out)

}“Tell her the truth”{

(it would be too long so I’ll keep the dialogue out)

}

Then I’ve put some scenes between but I wont show anything

if (TRUTH OR LIE is “I shouldn’t tell her! What if it hurts her feelings?”){

(it would be too long so I’ll keep the dialogue out)

}if (TRUTH OR LIE is “Tell her the truth”){

(it would be too long so I’ll keep the dialogue out)

}

Am I doing something wrong?

If you only have 2 options, you just need to use if for the for one and else for the 2nd one. You can learn more about the if/elif/else code here: HOW TO: Remember Past Choices (if/elif/else)

Also, your choice name cannot have spaces in them or they will not work. You will need to change “TRUTH OR LIE” into “TRUTH_OR_LIE” with underscores.

thank you but this comes up know after I’ve done what you said in the error message place
"unexpected expression: did you leave out the word “choice”, or forget put a character name in ALL CAPS? "

Can you post a screenshot of your script

I was trying too but it doesn’t work for some reason

Copy and paste that part of your script

says the x on this part

(here says x) }else (TRUTH_OR_LIE is “Tell her the truth”){

    MOM (talk_awkward)
What a lovely day

    KATHERINE (talk_think)
Mom are you avoiding something?

    JAYLO (talk_shrug)
Yeah your acting strange!

}

.

okay I’ll try that

hi I’m sorry if I’m being annoying so it’s only showing the second consequence for both choices know?

Did you also change this part to TRUTH_OR_LIE with underscores?

yes that part looks like this know
if (TRUTH_OR_LIE) {
(dialog)
} else {

    MOM (talk_awkward)
What a lovely day

    KATHERINE (talk_think)
Mom are you avoiding something?

    JAYLO (talk_shrug)
Yeah your acting strange!

}

Oh noo I’m talking about the choice, not the if/elif/else. You need to change the choice name as well.

So this is what the choice should look like:

NARRATOR (KATHERINE)
Should I tell her about last night?

choice (TRUTH_OR_LIE)
“I shouldn’t tell her! What if it hurts her feelings?”{

}“Tell her the truth”{

}

And this is what the if/else should look like:

if (TRUTH_OR_LIE is “I shouldn’t tell her! What if it hurts her feelings?”){

} else {

}

Ohhhhhh well I feel stupid know! Thank you so much I’ll change that know!!

1 Like

Hi there!

If you want to use this throughout your story and not just in one episode, the method I’ve explained in this article won’t work reliably for you. If you search “Tara explains” in the search bar on the forums, you’ll see I’ve written an article about other advanced types of branching - using points and gains. If you give that article a read, those are more the methods that you’d need to choose to code for 4 love interests. Hope this helps!