How to create locked choices?

I understand you need to put LOCKED into brackets but how do you make certain choices locked depending on previous choices? For example, the character can pick between three people on who to date, once chosen, I want to be able to make it so that the reader cannot select the other two. I hope this makes sense. I’m fully prepared for this to be a little complex. Any help would be greatly appreciated.

1 Like

I think it’s:

CHARACTER
Wanna see a movie tonight?

choice
<LOCKED"Yes, I do." {

#Whatever you want here

}
“No, Nope, And Definitly Not” {

#I love Bohemian Rhapsody

}

Also! Add > on the other side. I can’t do it here, because it makes it invisible…?

Here’s an example of going on a date with 1 of 3 boys and later on, you can make another choice where girl is choosing who to kiss but can only kiss the guy she went on a date with previously (other 2 are locked):

This is what I WOULD do for the example above:

NARR
Which guy you wanna go out on Saturday night with gurl?

choice (date_him)
“Ghost Boy”{
#script for dating ghost boy here
}”Demon Boy”{
#script for dating demon boy here
}”Skeleton Boy”{
#script for dating skeleton boy here
}

#story script here

Then later on….

if (date_him is “Ghost Boy”) {
goto ghost_kiss
} elif (date_him is “Demon Boy”) {
goto demon_kiss
} else {
goto skeleton_kiss
}

label ghost_kiss

NARR
Who would you like to kiss?

choice
“Ghost Boy”{
#script for kissing ghost boy here since you went on a date with him previously.
}<LOCKED>”Demon Boy”{
NARR
You can’t kiss him, you didn’t go on a date with him!
goto ghost_kiss
}<LOCKED>”Skeleton Boy”{
NARR
You can’t kiss him, you didn’t go on a date with him!
goto ghost_kiss
}

goto merge_story

label demon_kiss

NARR
Who would you like to kiss?

choice
<LOCKED>“Ghost Boy”{
NARR
You can’t kiss him, you didn’t go on a date with him!
goto demon_kiss
}”Demon Boy”{
#script for kissing demon boy here since you went on a date with him previously.
}<LOCKED>”Skeleton Boy”{
NARR
You can’t kiss him, you didn’t go on a date with him!
goto demon_kiss
}

goto merge_story

label skeleton_kiss

NARR
Who would you like to kiss?

choice
<LOCKED>“Ghost Boy”{
NARR
You can’t kiss him, you didn’t go on a date with him!
goto skeleton_kiss
}<LOCKED>”Demon Boy”{
NARR
You can’t kiss him, you didn’t go on a date with him!
goto skeleton_kiss
}”Skeleton Boy”{
#script for kissing skeleton boy here since you went on a date with him previously.
}

goto merge_story

label merge_story
#back to main story line

P.S you can double check this, atm I can’t test it but using my mind, I’m getting cool results lol

1 Like

Also good luck :black_heart: :black_joker:

You’ll need to use if/elif/else for that.

Your first choice will have to be named. Something like this:

choice (CHOICE1)
“Option 1” {

} “Option 2” {

} “Option 3” {
}

Then within the if/elif/else you can put the next choices and lock the choice that is not availavle for a previous choice.

if (CHOICE1  is “Option 1”) {

choice
“Available option 1” {

[ scene here ]

} <LOCKED>“Unavailable option” {

} <LOCKED>“Unavailable option” {
}

} elif (CHOICE1  is “Option 2”) {

“Available option 1” {

[ scene here ]

} <LOCKED>“Unavailable option” {

} <LOCKED>“Unavailable option” {
}

} else {

“Available option 1” {

[ scene here ]

} <LOCKED>“Unavailable option” {

} <LOCKED>“Unavailable option” {
}

}
1 Like

Thank you so much for your help guys! I super appreciate it. Unfortunately my choices are at different points in the story so maybe it won’t work. Unless theres a different way to lock the choices? They arent joined in the same group of choices as the character meets the potential love interests at different times in the story. Hope this makes sense

I believe the general idea of the methods provided above would still work for you. When creating that choice where the MC will pick who they’re gonna date, be sure to name the choice. Like in this example, for instance

You can name it however you would like though.

Then, later on in the story, you can always reference that choice (date_him) and use that for creating the locked choices for certain situations that come up in your story.

For example, MC chose to date LI1, but later on in your story, LI2 asks to go to the park with MC.
Using if/elif/else, you can make it to where MC can’t agree to go with him bc of choosing to date LI1.

I think the most important takeaway is just to name the choice(s) that you would like to reference later on in the story, so it can be remembered.

Good luck!

Hey,

Thank you for replying. I’m still struggling with this locked thing. Apologies :frowning: I’ve tried so many variations but to no avail.

Could you give me an example of what you mean please? In script form? I tried the following:

If (DATEELLA is “Be Spontaneous”)
choice (DATELEO)
}“Yes” {

There is a LOCKED in there but for some reason it doesn’t show on my comment.

Have I got that completely wrong? :joy: