Character Name & Customization

coding
community
communication
general

#1

Hi guys,

So I finally finished my first chapter but I have started the next one.

I’ve just realised, how do you transfer the readers chosen name and customization to the next script?

Here’s the code I have in my first script for the name change.

Avatar - Female {

@CASEY enters from left to screen center

@CASEY starts talk_flirt_charming_atcamera

    NARRATOR
Hey there!
I can't wait to tell you my story.
Firstly...

    NARRATOR
What's your name?

label first_name_input
input What’s Your First Name?|What’s Your First Name?|Done(FIRSTNAME)
if (NAME is “”) {
NARRATOR
You do need a name.
goto first_name_input
} else {
continue
}

    NARRATOR
Nice to meet you, [FIRSTNAME].

label female_custom_1

What would I need to put to transfer everything over.


#2

The customization will stay until you tell it so


#3

Moved to Directing Helps and Tips since it involves scripting. Make sure to check out our Forum Tutorial for more info about where to correctly create topics. :wink:


#4

Hi, thanks for replying.

Unfortunately when I have created a new chapter it’s as if I’ve started a new script and nothing has been transferred over if that makes any sense at all.

See attached.

So as you can see, I have created two “episodes/scripts”. Is this right?


#5

The web previewer does not remember choices, outfits, or customization from previous chapters. You will have to test your story in the app if you want to see things be carried over into the next episode.


#6

Thank you.