Customizing Main Character's Name: Not Working!


#1

I’ve been trying to let readers customize their name, but the template is not working for my Limelight story! This is what I typed:

label first_name_input

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

if (NAME is “”) {

    NARR
You do need a name...

goto first_name_input

} else {
continue
}

    NARRATOR
[NAME] is such a pretty name!

@NAME exits screen left

Anyone know why this isn’t working???


#2

What’s the error?


#3

The script doesn’t show the typing bracket and just says “Autobot is such a pretty name!” It just skips the option of a name completely!


#4

I think I know the problem… (apologies if this is incorrect, I don’t have much experience with first name inputs)

Insead of…


if (NAME is “”) {

Try…

if (NAME is “[INSERT MC NAME HERE]” (for example, “YOU”)



#5

Typed in choices do not show on the web previewer. You will need to test your story in the app for this.


#6

OOOOOOOOOH! Thank you!


#7

thank!


#8

Oh no you should leave that part the way it is. That part is for if the reader doesn’t type in a name or leave it blank, then it will take them back so that they do type in a name.


#9

Is there anything wrong with this ? Screenshot_8
it is acting like it is on the episode


#10

It should be Done (So cute!)
Use parentheses.


#11

If you want to say “So cute!” once they type in the name, you’ll need to use a narrator dialogue. That part of the code should be the answer for what they typed in. Refer to this thread: A Guide to Typed-in Choices

input What is your name? | What is your name? | Done (ANSWER)

NARRATOR
So cute!


#12

It comes up blank when i use it when i preview Screenshot_9 but this is right ?


#13

“Cute name” needs to be dialogue. Remove it from that code. That part is for the answer only when you want to refer to whatever the reader typed in.


#14

Oh so i can leave it blank and only like this () ?


#15

No, do it just like I did in the example from above.

Take a look and read through the link I posted.


#16

Okay thanks


#17

Omg sorry, AGAIN but um it comes up with error Screenshot_10 dont mind line number 3 LOL


#18

Remove the spaces between the parentheses and “ANSWER”. Also, I used “ANSWER” as just an example. You can change it to NAME since that’s what most people use to refer to the name.

Completely remove line 3.

Dialogue should always be under the character name or narrator.

NARRATOR
Dialogue here.

#19

Thanks so much ! Just one more thing, im so sorry again but

is this right ? i pressed preview and it still comes up as so cute


#20

The web previewer doesn’t show typed in codes. If you want to test that part out, you’ll have to test your story in the app