SCRIPT ERRORS - Ask away! :)

Hello! My name is Idril and I’m new to both Episode and the forum. I love debugging and I think it’s a great way to practice/learn about how to code in Episode, so please let me help you! As much as possible, in my answers, I will strive to give you the correct code as well as a simple explanation to the error.:slight_smile:

Please take note that this thread is for script errors/warnings only though, since I prefer working off something rather than from scratch. For any ‘how do you…’ questions, please try one of the many other help threads in this sub-forum.

When asking questions, kindly include the following:

  1. If you’re working on Limelight or INK
  2. A screenshot of the warning/error
  3. A copy of your code

Please like this thread if I’m able to help you. :slight_smile:

Hey I’m making a LL story and I have this error where everything seems fine but it still appears… What am I doing wrong?

Script%20Error

if (choice_red_lipstick){
goto red_gloss

label red_gloss

@SHAY changes lip color into Red Gloss

SHAY (flirt_wink_atcamera)
Should I wear gloss?

choice
“Yes”{
SHAY (kiss_blow_happy)
Glossy lips it is!
}“No”{
Shay changes lip color into Red Matte

SHAY (kiss_blow_happy)
Matte lips it is!
}
}elif (choice_burgundy_lipstick){
goto burgundy_gloss

Hi @HarisPgr! The error is caused by the goto red_gloss and label red_gloss at Lines 2435-2437. Removing or commenting out both lines should clear the Error.:slight_smile:

In addition to that, you have some other issues in this piece of code though:

  1. The code for changing lip color is @CHARACTER changes mouthColor into [Color]. You used lip color in Lines 2439 and 2449 instead.
  2. There is a missing @ sign at Line 2449 and ‘Shay’ isn’t capitalized.

Here’s the fixed script:

if (choice_red_lipstick){
#goto red_gloss

#label red_gloss

@SHAY changes mouthColor into Red Gloss

SHAY (flirt_wink_atcamera)
Should I wear gloss?

choice
“Yes”{
SHAY (kiss_blow_happy)
Glossy lips it is!
}“No”{
@SHAY changes mouthColor into Red Matte

SHAY (kiss_blow_happy)
Matte lips it is!
}

Let me know if it works and if you need anything else.

1 Like

Thank you so much! Everything is okay now

You’re welcome! :slight_smile:

1 Like