Choose a name based on given options?

Hey there. So I’m writing a story with the main character, Alexandra. Is it possible to have the reader choose a nickname that other charecters would refer to her as? Maybe I could give them options like Alex or Allie and they can choose out of the options I give. Let me know what you think!
Thanks :slight_smile:

NARRATOR
She should have a nickname though…
choice
“Alex”{
gain alex_nickname
}
“Allie”{
gain allie_nickname
}

To have the characters call her this, the nested dialogue would be like this!

if (alex_nickname){
CHARACTER (talk_greet)
Hey Alex, how’s it going?
}
elif (allie_nickname){
CHARACTER (talk_greet)
Hey Allie, how’s it going?
}

1 Like

You have to name the choice to remember which choice was chosen

NARRATOR
What nickname should she have?

choice (NAME)
“Alex” continue
“Allie” continue

Then just use [NAME] each time you want to refer to that name.

FRIEND
Hey [NAME], what’s up?

1 Like