Need help using custom names in the story


#1

Im try to get a character to say the main characters personalized name. But they just say “NAME” in the sentence. Help please!!


#2

This should help:

Note that (as described in the guide) you must go to your Character settings and set the display name of the main character as NAME.


#3

@itdragon she still says “NAME” and i typed it in like this:

KYLIE (talk_agree_happy)
It’s freaking New Years Eve [NAME] . And you’re not going to spend it in bed.

I also have the characters display name as NAME


#4

May I see the code for the typed-in choice where the play inputs the main character’s name?

What is the script name of the main character?


#5

Script name is “Eila”

Code for typed-in choice:

NARRATOR
So, what’s your name?

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

In the following code I have the narrator saying “(NAME)” and it says the typed in name fine.


#6

Are you testng it on your phone?


#7

Yes!


#8

I see your problem it shoudl be this:

NARRATOR
So, what’s your name?

input What is your name? | What is your name? | Done [NAME]


#9

The problem is that you use the pharentisis “()” instead the bracket “[”


#10

Sorry, no. In the input line itself, you DO use the (curved brackets), not the [square ones]

I just tested this and it worked for me:

    NARRATOR
So, what's your name?

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

    NARRATOR
Book 1, Chapter 1 - [NAME]

    EILA (idle)
Grr... I wanna sleep!

    KYLIE (talk_agree_happy)
It's freaking New Years Eve [NAME] . And you're not going to spend it in bed.

#11

Yes, I forgot lmao… sorry


#12

I also did it in my future story, here is my script:

    NARRATOR
I once called Angel Zepeda when I was a nerd.
But now, that angel had tamed.

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

if (FIRSTNAME is “”){

    NARRATOR
Girl, you do need a first name.
First name is where beginning start.

goto first_name_input

} else {

    NARRATOR
Remember your second name will be Demonise.
Your fist name is [FIRSTNAME] am I right?

choice
“Yes”{

goto last_name_input

}“No”{

goto first_name_input
}
}
label last_name_input
input What’s Your Last Name? |What’s your Last Name?| Done(LASTNAME)

if (LASTNAME is “”){

    NARRATOR
Girl, you do need a last name.
Everyone has a family name, even you.

goto last_name_input

}else{

    NARRATOR
Your last name is [LASTNAME] am I right?

choice
“Yes”{

goto story_begin

}“No”{

goto last_name_input
}
}

label story_begin

    NARRATOR (YOURNAME)
Now she's [FIRSTNAME] Demonise [LASTNAME]- wiser, braver, and prettier than they thought.
And this is the start of my vengeance.

#13

And it entered the typed in name?


#14

Here’s the code

label name_input
input What’s Your Name? |What’s your Name?| Done (NAME)

if (NAME is “”){

    NARRATOR
You do need a  name.

goto name_input

} else {

    NARRATOR
Your name is [NAME] am I right?

choice
“Yes”{

continue

}“No”{

goto name_input
}
}


#15

Yep. I tested it on my phone. When I type in Alice, instances of [NAME] appear as Alice.


closed #16

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


archived #17