I am trying to use Daras gender template and her dating preference template.
With the coding how can I splice all of those together?
Can I simply make it all in two different storylines or six?
I think this might help? (:
Lol that makes no sense, but here is what im trying to work with
Coding
if (Gender is Iris) {
if (date_all) {
goto date_all_Iris
}
}elif (date_girls) {
goto date_girls_story_Iris
} else {
goto date_boys_story_Iris
}
label date_boys_story_Iris
#DATE BOYS STORY LINE GOES HERE
goto end_chapter11
label date_girls_story_Iris
#DATE GIRLS STORY LINE GOES HERE
goto end_chapter11
label date_all_Iris
#STORY LINE GOES HERE
goto end_chapter11
}
else {
if (date_all) {
goto date_all_Cyrus
} elif (date_girls) {
goto date_girls_story_Cyrus
} else {
goto date_boys_story_Cyrus
}
label date_boys_story_Cyrus
#DATE BOYS STORY LINE GOES HERE
goto end_chapter11
label date_girls_story_Cyrus
#DATE GIRLS STORY LINE GOES HERE
goto end_chapter11
label date_all_Cyrus
#STORY LINE GOES HERE
goto end_chapter11
}
label end_chapter11
#END OF STORY GOES HERE
With this error popping up
Error
You seem to have u’ added to the goto. Cant say more from the error without seeing the code
I need to see the line to which the error goes., can you make screenshot of your coding in the portal to easier find uˇit? I am not at pc so I cant test your code
Gotcha one moment
Its the one I made bold
Ok so I fixed the one error but now it won’t recognize my else? The bolded part in the coding is where the error is?
Coding
if (Gender is Iris) {
if (date_all) {
goto date_all_Iris
}
}elif (date_girls) {
goto date_girls_story_Iris
} else {
goto date_boys_story_Iris
}
label date_boys_story_Iris
#DATE BOYS STORY LINE GOES HERE
@pause for 0
goto end_chapter
label date_girls_story_Iris
#DATE GIRLS STORY LINE GOES HERE
@pause for 0
goto end_chapter
label date_all_Iris
#STORY LINE GOES HERE
@pause for 0
goto end_chapter
else {
if (date_all) {
goto date_all_Cyrus
} elif (date_girls) {
goto date_girls_story_Cyrus
} else {
goto date_boys_story_Cyrus
}
label date_boys_story_Cyrus
#DATE BOYS STORY LINE GOES HERE
goto end_chapter
label date_girls_story_Cyrus
#DATE GIRLS STORY LINE GOES HERE
goto end_chapter
label date_all_Cyrus
#STORY LINE GOES HERE
goto end_chapter
}
label end_chapter
#END OF STORY GOES HERE
New Error
The id/elif else seem to be bit mixed up or at kast in this line you are missing vacket
} else {
But you might after reparing get error regarding brackets…
There is no readon to split the whole if elif else to 2 since you anyway use lables and gotos for all the possible storylines so why you do not keep it together?
I will send you the repared code once I will be at pc…explaining in phone sucks.
So when I add a bracket to the backside of the else it just comes up with this error
Error
@Dara.Amarie Can you by chance help me, I am using two of your templates. The choose your gender and choose your dating preference templates and i’m trying to make them coincide with each other. That way I don’t have to do so much coding, but for some reason when I try to add the remembering choices for the gender it’s not working properly and keeps giving me a error where the else is put.
Edit: I fixed it where it has no errors but I need someone to tell me if this coding will work for what I want it to do now?
Ok so I have no errors, but I need someone to tell me if this coding will work now?
Fixed Coding
if (MC_male) {
goto Cyrus_Story_Branch
} else {
goto Iris_Story_Branch
}
if (date_all) {
goto date_all_Iris
} elif (date_girls) {
goto date_girls_story_Iris
} else {
goto date_boys_story_Iris
}
label Iris_Story_Branch
@pause for 0
label date_boys_story_Iris
#DATE BOYS STORY LINE GOES HERE
@pause for 0
goto end_chapter
label date_girls_story_Iris
#DATE GIRLS STORY LINE GOES HERE
@pause for 0
goto end_chapter
label date_all_Iris
#STORY LINE GOES HERE
@pause for 0
goto end_chapter
label Cyrus_Story_Branch
if (date_all) {
goto date_all_Cyrus
} elif (date_girls) {
goto date_girls_story_Cyrus
} else {
goto date_boys_story_Cyrus
}
label date_boys_story_Cyrus
#DATE BOYS STORY LINE GOES HERE
@pause for 0
goto end_chapter
label date_girls_story_Cyrus
#DATE GIRLS STORY LINE GOES HERE
@pause for 0
goto end_chapter
label date_all_Cyrus
#STORY LINE GOES HERE
@pause for 0
goto end_chapter
label end_chapter
@transition fade out black
Dara's MC Gender + LI's Gender Templates Combined and Edited
label choose_gender
NARRATOR
Who do you want to play as?
choice
"Female" {
NARRATOR
Are you sure you want to play as a female?
choice
<PREMIUM> “Yes!” {
gain MC_female
} “No” {
goto choose_gender
}
} "Male" {
NARRATOR
Are you sure you want to play as a male?
choice
<PREMIUM> “Yes!” {
gain MC_male
} “No” {
goto choose_gender
}
}
label LI_gender
NARRATOR
Who is your love interest?
choice
"A Woman/Girl." {
NARRATOR
Are you sure you she's a woman/girl?
choice
<PREMIUM> “Yes!” {
gain LI_girl
} “No” {
goto LI_gender
}
} "A Man/Boy." {
NARRATOR
Are you sure he's a man/boy?
choice
<PREMIUM> “Yes!” {
gain LI_boy
} “No” {
goto LI_gender
}
}
if (MC_female) {
if (LI_girl) {
#Female MC and Female LI branch here.
}} if (MC_female) {
if (LI_boy) {
#Female MC and Male LI branch here.
}} if (MC_male) {
if (LI_girl) {
#Male MC and Female LI branch here.
}} if (MC_male) {
if (LI_boy) {
#Male MC and Male LI branch here.
}}
Dara's MC Gender + Dating Preference Templates Combined and Edited
label choose_gender
NARRATOR
Who do you want to play as?
choice
"Female" {
NARRATOR
Are you sure you want to play as a female?
choice
<PREMIUM> “Yes!” {
gain MC_female
} “No” {
goto choose_gender
}
} "Male" {
NARRATOR
Are you sure you want to play as a male?
choice
<PREMIUM> “Yes!” {
gain MC_male
} “No” {
goto choose_gender
}
}
label choose_date
NARRATOR
What is your dating preference?
choice
"I like boys." {
NARRATOR
You chose to date |bold,color:blue|boys|reset,no-space|. Is this correct?
choice
<PREMIUM> "Yes!" {
gain date_boys
} "No" {
goto choose_date
}} "I like girls." {
NARRATOR
You chose to date |bold,color:pink|girls|reset,no-space|. Is this correct?
choice
<PREMIUM> "Yes!" {
gain date_girls
} "No" {
goto choose_date
}} "I don’t have a preference." {
NARRATOR
You don’t have a dating preference. Is this correct?
choice
<PREMIUM> "Yes!" {
gain date_all
} "No" {
goto choose_date
}}
if (MC_female) {
if (date_boys) {
#Female MC and Male LIs branch here.
}} if (MC_female) {
if (date_girls) {
#Female MC and Female LIs branch here.
}} if (MC_female) {
if (date_all) {
#Female MC and Female + Male LIs branch here.
}} if (MC_male) {
if (date_boys) {
#Male MC and Male LIs branch here.
}} if (MC_male) {
if (date_girls) {
#Male MC and Female LIs branch here.
}} if (MC_male) {
if (date_all) {
#Male MC and Female + Male LIs branch here.
}}
Ok thank you so much for your help but I figured it out and was able to get it to work!!
I am at the PC now but I see you have already sorted it so congrats.
You’re welcome and it’s okay!