How can you say what the readers name they chose in the dialog?


#1

So i want to say ‘Hi i’m’ and what ever the name they chose was, but i dont know how to code it ! I would really appreciate some help thanks x also, I want my character to be seen on the screen when i have people choosing there outfit x


#2
label char1_name
input What's your first name|What's your first name?|Done(NAME)

if(NAME is "") {
      NARRATOR
   You need a name!
goto char1_name
}else{
continue
}

Don’t forget to change “NAME” with your character name.

Exmple:

       NARRATOR
   Hello [NAME].

#3

I dont know what the name is


#4

The name will be whatever the reader chooses the name to be.


#5

But i dont know what they chose it to be


#6

That’s the whole point, in the script it will only say [NAME], but in the story it will be whatever the reader chooses it to be.


#7

OH SO i say ’ Hey I’m [NAME]


#8

Yes, and when you preview it from your script it will just say [NAME], but when the readers read it, it will say whatever name they chose. Hope I helped! :grin:


#9

Thank you so much ! ! !


#10

All you could write is:
input What’s your first name|What’s your first name?|Done(NAME)
That’s all you need to write so the reader has an option to select the person’s name. Heck, you don’t even need the goto, else labels part of it lol.
So, after your reader names their character, that’s what NAME becomes. Let’s say they named their character Sally.
Here’s what you write:
NARRATOR
[NAME] was a teenage girl.
Here’s what the reader sees and reads:
NARRATOR
Sally was a teenage girl.
Hope this helped.
P.S you could also use other things instead of NAME, like YOU.
If you use NAME, for your character, you can have any script name that you want to use throughout your story (use the name you named them), but the display name, you can change that if you want…
Let’s say you created a character called YOU. And that’s what you wrote in the script:
An example:
YOU
Hey. My name is [NAME].
For the reader
YOU
Hey. My name is Sally.
However, if you change the display name to NAME, it goes like this.
YOU
Hey. My name is [NAME].
For the reader:
SALLY
Hey. My name is Sally.


#11

Thanks


#12

Also if you want the name to appear above the speech bubble, change the display name to (NAME)