DARA’S GUIDE: Typed-in Choices

Hi I was wondering if @Dara.Amarie or @Apes can help me with this code…
I have a scene where it involves reader input. They have to help someone fill in the blanks on a statement they are typing, So they have to type in the missing word. This is what I have so far, I know it is not right because when I preview it only the bit about answer is incorrect appears, so I would like some help to get the rest in.
NARRATOR
Can you help out Detective Jones with the missing words?

    NARRATOR (DETECTIVE JONES)
During my visit I noticed some strange behaviour from Miss Simpson, upon offering me a glass of ...
Hmm what did she offer me again?

label Guess_Missing_Word_1

input What is the Missing Word? | What is the Missing Word? | Guess(MISSING WORD)

if (MISSING WORD is “Water”) {

    NARRATOR
Correct! You've guessed the Missing Word.

} else {
NARRATOR
Answer is incorrect.
Please try again.

goto Guess_Missing_Word_1

}

@overlay MISSING WORD 1 create
@overlay 6088026729218048_MISSING WORD 1 shifts to 167 228
@overlay 6088026729218048_MISSING WORD 1 scales to 0.406 0.406
@overlay MISSING WORD 1 opacity 1 in 2
@overlay MISSING WORD 1 moves to layer 2
NARRATOR (DETECTIVE JONES)
Yes that’s right.

Don’t use spaces. Use underscores so change it to: MISSING_WORD

2 Likes

Thank you so much for this guide! But I still have a question: Does this work with elif and else too? Thanks in advance for all of your help.

Yes it does

1 Like

Thank you so much!

Thats just what happens with the web previewer.

The name will be remembered for readers and if you test your story in the app.

1 Like

Bump :cake5:

2 Likes

Bump :blob_sun:

1 Like

Bump :kiwi:

1 Like

Bump :desert_island:

Try entering FIRSTNAME on the character’s DISPLAY NAME box.

I don’t understand how to script Typed-In Names on Top of Speech Bubbles correctly.

I’m using this function with the NARRATOR (so the Narrator changes it’s name to the Typed-In Name)
but it recognizes it instead as a no-existent character and asks me if I want to create a new character with the name NAME.

This is how I scripted it:

First I want the Reader to choose the Characters NAME and SURNAME.
MAIN 1 is the Character the Reader is.

label name_input

input What’s Your first Name? | What’s Your First Name? | Done(NAME)

if (NAME is “”) {

    NARR
Your Character needs a Name!

goto name_input

} else {
continue
}

label surname_input

input What’s Your Surname? | What’s Your Surname? | Done(SURNAME)

if (NAME is “”) {

    NARRATOR
Your Character needs a Surname!

goto surname_input

} else {
continue
}

After the reader customized the Character, the first scene comes where the script looks like this:

EXT. GRAVEYARD - DAY

music music_sadgoodbye

@MAIN 1 stands back right AND MAIN 1 faces left

@MAIN 1 is cry_sob_sad_loop

    NARRATOR (MAIN 1)
I am lost.
I can't live without her.

I want to make a Graveyard scene as a beginning, showing MAIN 1 and MOTHER in a Grave laying.

But now when I type in:

    NARRATOR (NAME)
I am lost.
I can't live without her.

The Writer Portal says this:

ERROR
The character NAME doesn’t exist. Did you misspell or delete it? Try reloading to update your catalog.

Any help would be very appreciated as this is a major problem for my Story.

You need use your character’s script name. “NAME” and “SURNAME” are only used for display names and dialogue.

Also, when you mention the name in dialogue, you need to use [NAME] and [SURNAME]

1 Like

okay, thanks for the answer, i’ll try now to fix it

How do I make a character’s younger self have the same name, but with “young” in front of it if I let readers choose the name?

Hey your guide are very useful,
I want to ask, what do we do if we let the character choose their name, and we want to do this:
Please reply @Dara.Amarie :green_heart:

NARRATOR (NAME)

You still use the script name of the character

1 Like

Okay, thank you :heavy_heart_exclamation:

Hey, please help me I’m a new episode writer and I need some help I’m doing a dressing game. It is telling me the code is wrong and this is what they said was wrong. Can you please tell me the mistake I made.

Label choosing_outfit

CLARA (think)
What do I want to wear?

Choice
“Spicy”{

@CLARA exits right
@CLARA changes into CLARA_default
@CLARA is flirt_wink
}

“Nerdy”{

*@CLARA exits right
*@CLARA changes into CLARA_nerdy
@CLARA is flirt_wink
}

@CLARA enters from right to screen rigth AND CLARA faces left
@pause for a beat

CLARA

Should i wear this?
choice
“Definitely, my style.”{

CLARA (talk_happy_agree)

I look amazing.
}
“I can do better”{

CLARA (talk_unsure)
Let’s see the other one.

goto choosing_outfits

}
thank you
kind regards leah

Hi there. Your reply is off topic. This is not the correct thread to post your question. Create your own thread asking for help or PM me.