Using name input code

When using the name input and putting the name in above the speech bubble it stays as YOU

Make sure the script and display name are the same, to have a type-in name to appear everywhere in the bubbles

1 Like

Ok thank you

The script and display name is YOU
here is the code

Avatar - Name Input {

    NARRATOR
So... what's your name?

label first_name_input

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

if (FIRSTNAME is “”) {

    NARRATOR
You do need a name...

goto first_name_input

} else {
continue
}

Delete this part and just use this:

NARRATOR
So… what’s your name?
input What’s Your First Name?|What’s Your First Name?|Done(YOU)

2 Likes

Thank You

1 Like

What about this
if (FIRSTNAME is “”) {

it’s not needed :slight_smile: just the code I posted

1 Like

@Apes
INT. WALKINCLOSET - DAY

Avatar - Name Input {

    NARRATOR
So... what's your name?

label first_name_input

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

    NARRATOR
You do need a name...

goto first_name_input

} else {
continue
}

#}

error
image

INT. WALKINCLOSET - DAY

NARRATOR

So… what’s your name?

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


that’s it, no branching or anything needed :slight_smile:

1 Like

Thank you

1 Like

@Apes
on cc how do you stop them sliding

use @ instead of & for walking action

1 Like

thankyou

1 Like

Sorry to bother you so much
when speaking to someone how do you include the name
For Example

“Jade is a nice name”

CHARACTER
[YOU] is a nice name.

1 Like

Thank You

1 Like

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