I’ve made a topic about this issue a few month ago.(Custom or original name: typed-in choice).
I thought I had found the solution but it turns out it doesn’t work on my phone (while it does on my iPad, which does not make sense at all).
Here is the issue:
I want to let the reader the choice to change the name of the MC BUT I don’t want them to have to write the default name of the MC that I’ve chosen.
The only option I have is to make a if-else every time the name of the MC is used which is extremely stupid.
There seems to be no way to deal with that issue.
I previously used the typical input variable:
input What is your surname? | What is your surname? | Done (NAME)
And wanted to give the value “CLAIRAH” to NAME in case the reader likes the name. It doesn’t work. If I change the name of the variable NAME to Clairah, it’ll display Clairah on both the portal and my iPad but nothing on my phone so this lovely thing doesn’t work.
I highly value user experience. There is no way the readers are going to write anything if they choose the name I’ve chosen.
Personally, I never use NAME as my character’s display name. I always give them the name I have chosen. Given that, the coding of the name choice is the same but instead of name I put it the character’s name, in this case CLAIRAH
My bad I may have explained poorly my issue xD. But how do you use it in conversations? Like:
MC
My name is [Clairah]?
Because when I do that, it doesn’t display anything on my phone (just: My name is?) if nothing was inputed by the reader (but it displays My name is Clairah on the portal and my iPad)
Hmmm … I actualy believe this has no simple solution you are looking for - whatever reader writes or not writes will be remembered - so using the code [NAME] will always display what had reader typed in.
I understand you do not want to let the reader type in the default name but I think its the only solution in case you do not want all the if/elifs
I do it like this:
NARRATOR
You will play as this character.
If you don’t want to use your name you can use her original name - | bold , color:magenta |Karolin| reset , no-space |.
So… what’s your name?
label name
input What’s Your Name?|What’s Your Name?|Done(YOU)
if (YOU is “”) {
NARRATOR
You do need a name…
goto name
} else {
}
As you see the fact that the reader didn’t write anything is used to send the reader back - so he has to fill some name.
But I am interested if anybody has different SIMPLE solution.
Sorry if this isn’t what you’re looking for, or if this has already been tried or suggested, but would making this a choice be a possible solution? The reader technically wouldn’t writing the default name.
label first_name
NARRATOR
What is your name?
choice (NAME)
“Clairah” continue
“Enter your own name.”{
input What’s Your First Name?|What’s Your First Name?|Done(NAME)
}
if (NAME is “”) {
NARRATOR
You do need a name…
goto first_name
} else {
continue
}
NARRATOR
Is your name [NAME]?
choice
“Yes” continue
“No”{
goto first_name
}
Again, sorry if this isn’t what you’re looking for at all.
Hey! I can’t believe it but I think I have found a solution to the problem, at least it works for me!!!
Here’s what I did:
NARR
Do you want to rename?
choice “yes” {
NARRATOR
So… what’s your name?
label first_name_input
input What’s Your First Name?|What’s Your First Name?|Done(Clairah)
if (Clairah is “”) {
NARRATOR
You do need a name...
goto first_name_input
} else {
continue
}
}“no” {
NARRATOR
Great!
}
NARR
Hi, [Clairah].
Please tell me if it works for you. I made this script in a hurry. This will make the name appear in small letters while using “FIRSTNAME” (as in the default script) you will see the name in all caps if the user doesn’t input a name. But this may work. It worked for me… see if it works for you.
@Farah_DeSantis Could you please test if this works for you? I’m not sure if it will work for everyone and since no one is responding I tagged you. Hope you don’t mind.
OK I will test it … just question what do you have as display name of the character?
Since I kinda think you cant have small letters there so it seem to me it will not rename the speachbuble of the character for the one who renamed her. bBut I havent tested it yet!