yeah i followed the directions, the link is very useful however when i add *goto or *label it either tells me its invalid or bad label
Are you also pairing it with *label afternoon in the text?
*goto afternoon needs a *label afternoon to go to.
yes, and im having the a problem with the stats, same error, expected at least one row
your name is Jack Maxson, you are 25 and have been living with your SO for about a year, you have been dating for two, you awake and decide what to do
*choice
#take a shower
*goto shower
*finish
#Eat Breakfast
*label shower
have a wonderful morning
*finish
The label needs to be its own section. Youâve added a choice and a label in the same set of choices. If you goto something, you donât need a *finish. Make sure each level is indented.
[code]*choice
#take a shower
*goto shower
#Eat Breakfast
*goto breakfast
*label breakfast
(stuff)
*label shower
(stuff)[/code]
You donât need both *goto and *finish in the same block of code under a # for a *choice. If youâre going to put everything in a block like you do with #Eat Breakfast, then use *finish and leave the *goto out, just as you did, but if you prefer to send control elsewhere with the *goto as you do under #take a shower, then leave the *finish out. So you should get rid of the *finish under *goto shower in your own code above. @Hanon_Ondricekâs example uses *gotoâs only without using *finish for that reason.
thanks that was a big help, when i type the ââstuffââ they both appear no matter what option i pick
âŚIâm pretty sure he was replying to a different questionâŚ
Right. â(stuff)â was just a substitution for whatever different text youâd type for each choice.
i know but when i text what i want, they both appear in each choice
im having the a problem with the stats, same error, expected at least one row
I have,no harm in reading it again
You might have created a stat chart without any info in it. Itâs hard to know for certain without seeing the code.
*stat_chart
Name Andrew
percent intelligence
percent wisdom
*stat_chart
text Name
percent Intelligence
percent Wisdom
That explains your âexpected at least one rowâ error message. Name isnât indented, and you need to indent everything to be contained in your stat_chart immediately underneath it as @Just_Because has shown above. Furthermore, you also need to specify how the stat chart is to deal with the variable, again just as @Just_Because has shown, and in this case Name needs to be preceded by the word âtextâ, just as Intelligence is preceeded by the word âpercentâ. Youâre basically telling it how to treat the variable you want printed. The Name variable should already hold the string âAndrewâ, so you shouldnât need to explicitly print that as well.
When i type what i want for each choice, they both appear in both choices, how can I seperate them, for example if i type you have a pleasant shower, i just want that text to apper when the player choses take a shower
*choice
#take a shower
*goto shower
#Eat Breakfast
*goto breakfast
*label breakfast
(stuff)
*label shower
(stuff)
*choice
#take a shower
*goto shower
#Eat Breakfast
*goto breakfast
*label breakfast
(stuff)
*goto after
*label shower
(stuff)
*goto after
*label after
Or, if labels are really confusing you you can do this:
*fake_choice #Take a shower. (stuff) #Eat Breakfast (stuff)