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.
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.
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.
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.
I tested it once again and now it’s working.
Maybe it was the portal glitching or something because earlier it was appearing as CLAIRAH but now it’s okay. Anyways, thank you!
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
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.
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 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.