I'm lost...Labels?

I know I’ve already posted a lot, but I need help again. :sweat_smile:

Can someone explain what labels do? I mean, I kind of get it, anything under a certain label would mean that it would only happen ONLY under that label, but how would that be formatted for multiple scenarios? I’m genuinely curious, and I’m unsure of a “safe” (correct) way to make multiple scenarios for each label, and how to separate them from other labels. Do I just list the labels, and anything in between is what would happen under the label above, or do they accidentally merge if I’m not careful? Examples appreciated!

1 Like

Labels work so you can go back to that place if you want to. For example, customization templates are full of labels so if you dont like a hair color or something you can go back and change it again.

You have
label : to mark the place
goto: to return there

1 Like

Another example would be some mini games! You know those that if you do something wrong you need to start all over again. Those use label and goto

1 Like

its kind like a save point, it makes so you can go back and forth, they are often used in clothing choices, so people can try all outfits.

2 Likes

For example

label_minigame

NARRATOR
Choose the correct answer

Choice
“bla bla bla”{

NARRATOR
Yes! correct answer!
}“bla bla bla”{

NARRATOR
No! Choose again!

goto_minigame
}

1 Like

It’s basically like a check point that you can use to go back to.

2 Likes

Oooh, okay! That makes a lot more sense, I was confused. So, as far as me wanting multiple scenarios, would I just make a new label beneath the first one?

Let’s say person a and b want to go on a date, but aren’t sure of where to go. The user has 3 options, and each option has a different scenario. Would I just do

label_1
{insert dialog}

label_2
{insert dialog}

label_3
{insert dialog}

?

Or do I not need to do that and I can do it a different way?

If you want to show them the places before going yes! For example.

label date

NARRATOR
Where do we go?

Choice
“Beach”{

BEACH BACKGROUND
NARRATOR
This one?

Choice
"Yes{

}"No, take me back{

goto date

}
}“Restaurant”{

RESTAURANT BACKGROUND
NARRATOR
This one?

Choice
"Yes{

}"No, take me back{

goto date

}
}

1 Like

I hope you understand this :yellow_heart:

I’m trying to, haha. I’m kinda confused. So it wouldn’t be “label”, it would be “Go to” if I wanted them to move to a new scene?

Label is so you can go back. You know how in so many stories it asks like “Are you sure?” They use label and goto.
Goto is to GO TO THE LABEL ONLY

If you don’t have a label you can’t use goto

1 Like

Ahhhh, now I get it. So the command I’m looking for is not a label. Thanks!

1 Like

What @luchibob and @line123462 stated is 100% right.

some more examples would be in menu templates or choices.
example for a choice:

label get_to_know

NARR
What would you like to know?

choice
“Favourite colour?”{
NARR
Blue.

goto get_to_know

}“Favourite animal?”{
NARR
Peacock.

goto get_to_know

}“Favourite movie?”{
NARR
Don’t have one.

goto get_to_know

}“No more questions”{
NARR
I think that’s enough questions for today.

}

#Take note that there isn’t a (goto get_to_know) in the last question, which will allow the reader to continue on with the story. Having a goto allows the reader to go back to the choice. If there wasn’t a goto that brought them back up to the label, then the question would only appear once and then continue on with the story.

Another thing to keep in mind is the coding goes down by each line. Example below using a intro menu template.

label menu

NARR
What would you like to do?

choice
“Start Story”{
goto start_story

}“Customise”{
goto customize

]“Recap”{
goto recap

]

label customise

(add in template here for customization)
goto menu

label recap

(add recap here)
goto menu

label start_story

(add story chapter contents here)

if there wasn’t a goto after the customisation to either goto start_story or goto menu, it would go straight down into recap and then start the story because the coding will go down the script unless you direct it to go somewhere.

i don’t know if this helps at all but yeah :blob_hearts:

2 Likes

Moved to Directing Helps and Tips since this is not art-related. Make sure to check out our Forum Tutorial for more info about creating topics, and feel free to PM me if you’ve got questions. :smiley:

1 Like

Thank you! This is super helpful!

1 Like

I’m sorry, I didn’t know. Thank you!

1 Like

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