TYPED Input and value of variable (original VS customizable)

Hello,
Just change the Display name to Clairah.

Then just put this:


        NARR
    Would you like to change your name?

choice
"Yes." {
goto choose_name

} "No, Clairah is fine." {
goto continue_story
}

label choose_name

input What's your name? | Type your name. | Done (CLAIRAH)

NARR
Is [CLAIRAH] correct?

choice
"Yes!" {
goto continue_story
} "No, I messed up." {
goto choose_name
}

label continue_story
#whatever happens after the name choice thing.

And then to refer to the MC, use [CLAIRAH]

Example

CHARACTER2
Hey [Clairah], how are you?

if the reader chose to keep the MC’s name then Clairah will show, if they chose to change their name, then whatever they typed in will show instead.

Hello,

The way you’re coding it only would work for if characters were to say [Clairah] but like you experienced it won’t rename the MC character itself, it would have to be in all caps and matching the display name to rename the character. Using something like Clairah opposed to CLAIRAH can be used to do things like if authors wanted to let the readers write a pet name for their love interest to call them by such as darling without actually changing the MC’s name or without having to use an existing character then you could use it with lowercase letters or really to name/refer to anything such as being used in general for typed in choices like foods and favorite color or hobbies, passwords or whatever but as for renaming Characters it would have to be in all uppercase letters. :slightly_smiling_face:

1 Like

Actually, when I was using [CLAIRAH] (when the user is not entering any name) then the name is appearing like
Hi, I'm CLAIRAH.
Dunno why.
But when the user is typing the name it’s appearing in the proper way.
Maybe I messed up the code or something. :woman_shrugging:

1 Like

OK its weird as f. to me but I tested what @Elaina2 suggested and it works

I changed the display name from CLAIRAH to Clairah.

After saving it - it automatically changed back to CLAIRAH (when I refreshed the page)…but don’t ask me how it seems it somehow remembers it in small caps anyway, because when I was testing it in the app appeared as Clairah inside the dialogue.

Here is it when I went to input:

Here is how it looks when I go without the input

p.s. dont ming her look its jut one of the automaticly created characters.

2 Likes

I tested it once again and now it’s working. :woozy_face:
Maybe it was the portal glitching or something because earlier it was appearing as CLAIRAH but now it’s okay. Anyways, thank you! :blob_sun:

1 Like

Now I tested it so that the character is still CLAIRAH and I changed both the input and her Display name to DEVON

and then I changed the display name to Devon as before

Basically, I am testing what will happen in case the display name and the character name will not be identical if it will still work… and in this case, it appears all in caps

:flushed: :flushed: :flushed: :flushed:

2 Likes

Did you write
DEVON
Hello, my name is [Devon]. …?
Ensure Devon is in small letters in dialogue. Or maybe refresh the browser (this part worked for me)

My script in both charater and input name is the same but I saved the display name in small caps

EXT. ABANDONED HOME - NIGHT

    NARR
Would you like to change your name?

choice
“Yes.” {
goto choose_name

} “No, Clairah is fine.” {
goto continue_story
}

label choose_name

input What’s your name? | Type your name. | Done (CLAIRAH)

    NARR
Is [CLAIRAH] correct?

choice
“Yes!” {
goto continue_story
} “No, I messed up.” {
goto choose_name
}

label continue_story

@CLAIRAH stands screen center
CLAIRAH
Hello, my name is [CLAIRAH]

No input:

with input

This should be: [Clairah]

if the display name and character name is identical it works with [CLAIRAH]

Uhhh… Is this not what you want? I don’t understand… I got even more confused!

If I put it in small caps as this:

EXT. ABANDONED HOME - NIGHT

    NARR
Would you like to change your name?

choice
“Yes.” {
goto choose_name

} “No, Clairah is fine.” {
goto continue_story
}

label choose_name

input What’s your name? | Type your name. | Done (Clairah)

    NARR
Is [Clairah] correct?

choice
“Yes!” {
goto continue_story
} “No, I messed up.” {
goto choose_name
}

label continue_story

@CLAIRAH stands screen center
CLAIRAH
Hello, my name is [Clairah]

it doesnt work when I go to the input - the speachbubble still shows CLAIRAH

That’s weird. It was working fine for me a few minutes ago. I’m checking again.

Actually @Farah_DeSantis I think you found something I overlooked. I think as you’ve found, the Script name and the Display name have to be the same name in order for it to not show up capitalized so that it can register its a Character’s name. I tested it with all caps and it lowercased it properly as long as the character has the same name for both script and display then it won’t do that caps thing as you experienced when you did an example with Devon.

I guess the input must be always big caps

but in the dialogue, you can write it in the brackets in small caps.

1 Like

Found it! It should be (CLAIRAH)
…right?

I typed Liah. It works for both cases. I’m sure it’s because of you didn’t write (CLAIRAH) in all caps In the input.

Ha I got the solution working also for different display name

Back to devon

display name saved as Devon character name CLAIRAH

EXT. ABANDONED HOME - NIGHT

    NARR
Would you like to change your name?

choice
“Yes.” {
goto choose_name

} “No, Devon is fine.” {
goto continue_story
}

label choose_name

input What’s your name? | Type your name. | Done (DEVON)

    NARR
Is [Devon] correct?

choice
“Yes!” {
goto continue_story
} “No, I messed up.” {
goto choose_name
}

label continue_story

@CLAIRAH stands screen center
CLAIRAH
Hello, my name is [Devon]

And works for both input and no input.

1 Like

@Farah_DeSantis
See if changing it to all caps works.

Makes sense now, I think understood, so they can have a different script name than the display name but in dialogue to refer to the name typed you would write it with lowercase and since it’s written like Devon it will show up properly instead of all Caps. Whew! Just learned something new :smiley: thanks for studying into it lol.

So I’m going to rewrite my response to this post:

Just change the Display name to Clairah or CLAIRAH
It doesn’t matter how you type it since it’ll revert back to all caps anyway.

Then just put this:

        NARR
    Would you like to change your name?

choice
"Yes." {
goto choose_name

} "No, Clairah is fine." {
goto continue_story
}

label choose_name

input What's your name? | Type your name. | Done (CLAIRAH)

NARR
Is [Clairah] correct?

choice
"Yes!" {
goto continue_story
} "No, I messed up." {
goto choose_name
}

label continue_story
#whatever happens after the name choice thing.

And then to refer to the MC, use [Clairah]

Example

CHARACTER2
Hey [Clairah], how are you?

Or if you want a character to yell their name then refer to their name as [CLAIRAH]

This will put the name in all caps.

if the reader chose to keep the MC’s name then Clairah will show, if they chose to change their name, then whatever they typed in will show instead.

basically yes I would summarize the rules as:

  1. You must save your display name in small caps Clairah
  2. You write input in all caps (CLAIRAH)
  3. in Dialogue you will write in small caps [Clairah]
2 Likes