I’m having trouble with the character being able to choose their name.
This is what i have written there:
*label name
*choice
#Jacob
#John
#Jonathan
#Jack
#Henry
*input_text name
#Wait, these are not my names
Your name is ${name}, is that right?
*choice
#Yes
#Wait, no it's not.
*goto name
My error looks like this:
startup line 34: Expected choice body
Ok yeah, you only need to create the name variable one time like this:
*create name ""
You can also put in a stand-in name just for now:
*create name "Default"
Because it will change when you set the name.
When you change a variable that you created with quotations, like the name variable, whatever you set it to also has to be in quotations. So, you’ll want to do…
*set name "Jacob"
And so on…
Because if you have *set name Jacob without quotes that means it’s trying to look for a variable called Jacob
*label name
*choice
#Jacob
*set name "Jacob"
*goto is
#John
*set name "John"
*goto is
#Jonathan
*set name "Jonathan"
*goto is
#Jack
*set name "Jack"
*goto is
#Henry
*set name "Henry"
*goto is
#Wait, these are not my names
*goto name_input
*label name_input
Then what's your name?
*input_text name
*goto is
*label is
Your name is ${name}, is that right?
*choice
#Yes
*goto next
#Wait, no it’s not.
*goto name_input