Labeling help with point systems

Hi I am new to episode and in need of help with this point system with clothing I know how to do the point system for the clothing but the labels are not working properly. Once I go to the feature section it builds up for example add glasses, then instead of going to the features it go straight to remove glasses, after add hijab then it goes straight to remove hijab so I don’t know how to go straight to features_fem_1. If someone can look at the issue and see where the problem is, in order to fix this.

label features_fem_1

    NARRATOR
Features...

choice
“Outfits with Glasses”{
@zoom reset
@zoom on 150 350 to 165% in 0
@char starts idle_happy_loop
goto glasses_outfits
}
“No glasses” {
@zoom reset
@zoom on 150 350 to 165% in 0
@char starts idle_happy_loop
goto Remove_Glasses
}
“Outfits with Hijab”{
@zoom reset
@zoom on 150 350 to 165% in 0
@char starts idle_happy_loop
goto Hijab_outfits
}
“No Hijabs”{
@zoom reset
@zoom on 150 350 to 165% in 0
@char starts idle_happy_loop
goto Remove_Hijabs
}

NARRATOR
Features…

label glasses_outfits

    NARRATOR ((character_stays))
Would you like to add/remove any extra features?

choice [shouldPaginate: YES] “Add Glasses”
if (YOU = 0) {
@char =100
@char changes into char_100
} elif(char = 1) {
@char =101
@char changes into char_101
} elif(char = 2) {
@char =102
@char changes into char_102
} elif(char = 3) {
@char =103
@char changes into char_103
} elif(char = 4) {
@char =104
@char changes into char_104
} elif(char = 5) {
@char =105
@char changes into char_105
} elif(char = 6) {
@char =106
@char changes into char_106
} elif(char = 7) {
@char =107
@char changes into char_107
} elif(char = 8) {
@char =108
@char changes into char_108
} elif(char = 9) {
@char =109
@char changes into char_109
} elif(char = 10) {
@char =110
@char changes into char_110
} elif (char = 200) {
@char =400
@char changes into char_400
} elif (char = 201) {
@char =401
@char changes into char_402
} elif (char = 202) {
@char =402
@char changes into char_402
} elif (char = 203) {
@char =403
@char changes into char_403
} elif (char = 204) {
@char =404
@char changes into char_404
} elif (char = 205) {
@char =405
@char changes into char_405
} elif (char = 206) {
@char =406
@char changes into char_406
} elif (char = 207) {
@char =407
@char changes into char_407
} elif (char = 208) {
@char =408
@char changes into char_408
} elif (char = 209) {
@char =409
@char changes into char_409
} elif (char = 210) {
@char =410
@char changes into char_410
goto features_fem_1
}

label Remove_Glasses

    NARRATOR ((character_stays))
Would you like to add/remove any extra features?

choice [shouldPaginate: YES] “Remove Glasses”
if (char = 100) {
@char =0
@char changes into char_default
} elif (char = 101) {
@char =1
@char changes into char_1
} elif (char = 102) {
@char =2
@char changes into char_2
} elif (char = 103) {
@char =3
@char changes into char_3
} elif (char = 104) {
@char =4
@char changes into char_4
} elif (char = 105) {
@char =5
@char changes into char_5
} elif (char = 106) {
@char =6
@char changes into char_6
} elif (char = 107) {
@char =7
@char changes into char_7
} elif (char = 108) {
@char =8
@char changes into char_8
} elif (char = 109) {
@char =9
@char changes into char_9
} elif (char = 110) {
@char =10
@char changes into char_10
} elif (char = 400) {
@char =200
@char changes into char_200
} elif (char = 401) {
@char =201
@char changes into char_201
} elif (char = 402) {
@char =202
@char changes into char_202
} elif (char = 403) {
@char =203
@char changes into char_203
} elif (char = 404) {
@char =204
@char changes into char_204
} elif (char = 405) {
@char =205
@char changes into char_205
} elif (char = 406) {
@char =206
@char changes into char_206
} elif (char = 407) {
@char =207
@char changes into char_207
} elif (char = 408) {
@char =208
@char changes into char_208
} elif (char = 409) {
@char =209
@char changes into char_209
} elif (char = 410) {
@char =210
@char changes into char_210
} elif (char = 500) {
@char =300
@char changes into char_300
} elif (char = 501) {
@char =301
@char changes into char_301
} else {
goto features_fem_1
}

label Hijab_outfits
NARRATOR ((character_stays))
Would you like to add/remove any extra features?
choice [shouldPaginate: YES] “Add Hijab”
if (char = 0) {
@char =200
@char previews hair Short Straight Tucked
@char previews outfit char_200
@char changes into char_200
} elif (char = 1) {
@char =201
@char previews hair Short Straight Tucked
@char previews outfit char_201
@char changes into char_201
} elif (char = 2) {
@char =202
@char previews hair Short Straight Tucked
@char previews outfit char_202
@char changes into char_202
} elif (char = 3) {
@char =203
@char previews hair Short Straight Tucked
@char previews outfit char_203
@char changes into char_203
} elif (char = 4) {
@char =204
@char previews hair Short Straight Tucked
@char previews outfit char_204
@char changes into char_204
} elif (char = 5) {
@char =205
@char previews hair Short Straight Tucked
@char previews outfit char_205
@char changes into char_205
} elif (char = 6) {
@char =206
@char previews hair Short Straight Tucked
@char previews outfit char_206
@char changes into char_206
} elif (char = 7) {
@char =207
@char previews hair Short Straight Tucked
@char previews outfit char_207
@char changes into char_207
} elif (char = 8) {
@char =208
@char previews hair Short Straight Tucked
@char previews outfit char_208
@char changes into char_208
} elif (char = 9) {
@char =209
@char previews hair Short Straight Tucked
@char previews outfit char_209
@char changes into char_209
} elif (char = 10) {
@char =210
@char previews hair Short Straight Tucked
@char previews outfit char_210
@char changes into char_210
} elif (char = 100) {
@char =400
@char previews hair Short Straight Tucked
@char previews outfit char_400
@char changes into char_400
} elif (char = 101) {
@char =401
@char previews hair Short Straight Tucked
@char previews outfit char_401
@char changes into char_401
} elif (char = 102) {
@char =402
@char previews hair Short Straight Tucked
@char previews outfit char_402
@char changes into char_402
} elif (char = 103) {
@char =403
@char previews hair Short Straight Tucked
@char previews outfit char_403
@char changes into char_403
} elif (char = 104) {
@char =404
@char previews hair Short Straight Tucked
@char previews outfit char_404
@char changes into char_404
} elif (char = 105) {
@char =405
@char previews hair Short Straight Tucked
@char previews outfit char_405
@char changes into char_405
} elif (char = 106) {
@char =406
@char previews hair Short Straight Tucked
@char previews outfit char_406
@char changes into char_406
} elif (char = 107) {
@char =407
@char previews hair Short Straight Tucked
@char previews outfit char_407
@char changes into char_407
} elif (char = 108) {
@char =408
@char previews hair Short Straight Tucked
@char changes into char_408
} elif (char = 109) {
@char =409
@char previews hair Short Straight Tucked
@char changes into char_409
} elif (char = 110) {
@char =410
@char previews hair Short Straight Tucked
@char previews outfit char_410
@char changes into char_410
goto features_fem_1
}
label Remove_Hijabs
NARRATOR ((character_stays))
Would you like to add/remove any extra features?
choice [shouldPaginate: YES] “Remove Hijab”
if (char = 200) {
@char =0
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_default
} elif (char = 201) {
@char =1
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_1
} elif (char = 202) {
@char =2
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_2
} elif (char = 203) {
@char =3
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_3
} elif (char = 204) {
@char =4
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
} elif (char = 205) {
@char =5
@MELLISA unpreviews hair Short Straight Tucked
@MELLISA unpreviews hairColor Black Dark
@MELLISA changes into MELLISA_5
} elif (char = 206) {
@char =6
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_6
} elif (char = 207) {
@char =7
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_7
} elif (char = 208) {
@char =8
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_8
} elif (char = 209) {
@char =9
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_9
} elif (char = 210) {
@char =10
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_10
} elif (char = 400) {
@char =100
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_100
} elif (char = 401) {
@char =101
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_101
} elif (char = 402) {
@char =102
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_102
} elif (char = 403) {
@char =103
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_103
} elif (char = 404) {
@char =104
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_104
} elif (char = 405) {
@char =105
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_105
} elif (char = 406) {
@char =106
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_106
} elif (char = 407) {
@char =107
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_107
} elif (char = 408) {
@char =108
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_108
} elif (char = 409) {
@char =109
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_109
} elif (char = 410) {
@char =110
@char unpreviews hair Short Straight Tucked
@char unpreviews hairColor Black Dark
@char changes into char_110
goto features_fem_1
}

Hi
Have you tried to add goto features_fem_1 inside every if/elif?

Like you did here

Usually when using conditions, the script keeps going forward if you don’t use labels. In this case after the use glasses, you have remove glasses, without a goto features_fem_1, the script goes there.
But I am not sure it will work.

Ah okay I will try this thank you. :blush:

firts of all in your first if/else you have condition

@YOU = 0
while in rest of your scrip you use @char -So I asume this is mistake and all should be one point name

second the points are names of characters and they have to be in big letters so it should be @CHAR and not @char

Because I do not see the conditions where the readers gain the points you use for the if/else I cant comment the if/ese itself…for example on the start aou have condition that CHAR has 1 point but I do not see that you have in your sctipt anywhere alowed reader to gain such point so…do you have it anywhere?

Because you are new to episode I assume you took some template for this - can you please show me the original template?

Ah yes sorry hold up I will share you the link

This is the link

1 Like

ok so first of all are you aveare of the fact you have to create around 100 outfits to make this work?

This is pretty complicated code one of the most dificult actually and what is there is nor really a template but more an explanation how to do it - you you have to understand the point system first to understand how to make it work

do you have the feature numbers adjusted to the options you give to reader

I mean this thing:

Yes I specifically made different clothings for each of the numbers for the point system. Fortunately, it worked for me but the issue is the goto label, since I added multiple points the goto label is not working properly. I forgot to make the char capitalized in this text, but in my actual script the char is capitalized sorry for the mishap.

But you first must have somewhere a choice where you let learde decide if he wants to wear glases atc…and you must have there points so the scripts know what he has chosen.

Do you have such choice in the script?

Yes I do but the goto feature is not working properly. That’s the issue.

can you show me first this choice please?
Because if you do not have there the points right than this might be problem why the if/else is not working properly.

um yeah sure hold up

label features_fem_1

    NARRATOR
Features...

choice
“Outfits with Glasses”{
@zoom reset
@zoom on 150 350 to 165% in 0
@MELLISA starts idle_happy_loop
goto glasses_outfits
}
“No glasses” {
@zoom reset
@zoom on 150 350 to 165% in 0
@MELLISA starts idle_happy_loop
goto Remove_Glasses
}

after when i do all the points i put goto features_fem_1

I did the same thing for the hijab

and to the labels itself.

If you have multiple labes one under another and do not want to reader jum from one to another oyu have to add goto to the end of each label

label features_fem_1

    NARRATOR
Features...

choice
“Outfits with Glasses”{
goto glasses_outfits
}
“No glasses” {
goto Remove_Glasses
}
“Outfits with Hijab”{
goto Hijab_outfits
}
“No Hijabs”{
goto Remove_Hijabs
}

if you want him to go back to the choice:

label glasses_outfits
#add all that belongs to this label here
goto features_fem_1
label Remove_Glasses
#add all that belongs to this label here
goto features_fem_1
…and so on

if you want to him to go to the story “after the choice”

label glasses_outfits
#add all that belongs to this label here
goto story_start
label Remove_Glasses
#add all that belongs to this label here
goto story_start
…and so on

and you add label in place the story follows after the choice

label story_start

There are no points in your choice.

Am I supposed to be adding point in my choice?

If this is your first choise where the reader decides if he wants to wear glasses atc then yes you must have there the points.

OK as I said this is extremly advanced code.

so I have to ask

  1. do oyu understand how point system works?
  2. do you understand how choices works?
  3. do you understand how if/elif/else works?
  4. do you understand how labels and gotos work?

Because if I understand right you just copied what was n that thread not really understanding what it is doing - but I might be wrong of cause.

No i do not understand point system, yes i understand how choices work, i kinda understand if, elif, and else, also I understand labels and goto work.

So if you want to do what is in that topic you first should have somewhere on the stars a simple choice with points so the script will be able to remember what has reader chosen.

Are you giving only the options hijab and glasses or do you offer more thing he can decide he wansts like scars or freckles?

Because if you offer only glasses and hijab than the whole if/elid/else you have is most likely wrong.