I'm having trouble with choices Please Help :)


I can’t figure out how to get rid of the Error can someone help me

Can you copy/paste the choice code and the dialogue right above it?

I’ll run it through my “helper” story on my portal and see if I can get rid of the error for you. :slight_smile:

1 Like

That specific error message means you need to add dialogue before a choice, like so:

NARR/CHAR
Dialogue here.
choice
“Option 1” {
}“Option 2” {
}

However, your coding is a bit off and the format is not correct. Are you trying to do just a simple outfit choice?

Try using this:

4 Likes

Okay so you want everything from the script

@ColeCatalyst
Here you go
}
choice " 1st dress " {
@JASLENE is dustoff_neutral_loop
@JASLENE changes into JASLENE_NEW_MOON_BAR_OUTFIT
} " 2nd dress " {
@JASLENE is dustoff_neutral_loop
@JASLENE changes into JASLENE_NEW_MOON_BAR_OUTFIT_NUMBER_TWO
choice " I want this one " {
JASLENE (talk_neutral_unsure
Time for hair
} " Take me back " {
choice " 1st dress " {
@JASLENE is dustoff_neutral_loop
@JASLENE changes into JASLENE_NEW_MOON_BAR_OUTFIT
} " 2nd dress " {
@JASLENE is dustoff_neutral_loop
@JASLENE changes into JASLENE_NEW_MOON_BAR_OUTFIT_NUMBER_TWO
}
}

Give me a few :slight_smile:

1 Like

Okay

label New_Moon_Bar_Outfit_Choice
SOPHIE (think_rubchin)
Which dress should I wear?

choice " 1st dress " {
@/SOPHIE is dustoff_neutral_loop
@/SOPHIE changes into SOPHIE_NEW_MOON_BAR_OUTFIT

    NARR
Is this the dress you want?

choice “Yes!” {
continue
} “No, I want to try on another one” {
goto New_Moon_Bar_Outfit_Choice
}

} " 2nd dress " {
@/SOPHIE is dustoff_neutral_loop
@/SOPHIE changes into SOPHIE_NEW_MOON_BAR_OUTFIT_NUMBER_TWO

    NARR
Is this the dress you want?

choice “Yes!” {
continue
} “No, I want to try on another one” {
goto New_Moon_Bar_Outfit_Choice
}
}
THEN add your hair choice here by doing:
JASLENE (primp_neutral)
Time for hair!
—choice code here–
@transition fade out black in 1
EXT. ABBEY GARDEN - DAY
&SOPHIE stands screen center

**change SOPHIE back to your character and in the outfit name.

I ran it and it works selecting No makes it loop back to the original question of which outfit. As you can see I added a label and goto to your choice to make it loop back around so people can preview both options before choosing.

1 Like

thank you it’s working now I really appreciate it

1 Like

You’re welcome. You should definitely check out dara-amarie.com

She has some great guides, templates and tips/tricks to coding. :slight_smile: Good luck with your story :slight_smile:

1 Like

Thanks I will

1 Like

Could you help me again I don’t know how to remove this


}

} " 2nd dress " {
@EVELYN is dustoff_neutral_loop
@EVELYN changes into EVELYN_NEW_MOON_BAR_OUTFIT_NUMBER_TWO

    NARR
Is this the dress you want?

choice “Yes!” {
continue
} “No, I want to try on another one” {
goto Outfit_choice

}

label Hair_choice
NARR
Would you like to change her hair?
choice "Yes change it " {

} "No keep it " {

}

can you give me the dialogue that goes before the top } that you pasted? In order to run it, I need the full choice code:
CHAR
Dialogue here.
choice code here. :slight_smile:

1 Like

label Outfit_choice
@EVELYN spot 1.280 150 8 in zone 1
EVELYN (think_rubchin)
Which dress should I wear?
choice " 1st dress " {
@EVELYN is dustoff_neutral_loop
@EVELYN changes into EVELYN_NEW_MOON_BAR_OUTFIT

    NARR
Is this the dress you want?

choice “Yes!” {
continue
} “No, I want to try on another one” {
goto Outfit_choice
}

} " 2nd dress " {
@EVELYN is dustoff_neutral_loop
@EVELYN changes into EVELYN_NEW_MOON_BAR_OUTFIT_NUMBER_TWO
}
NARR
Is this the dress you want?
choice “Yes!” {
continue
} “No, I want to try on another one” {
goto Outfit_choice

}

label Hair_choice
NARR
Would you like to change her hair?
choice "Yes change it " {
@EVELYN is primp_brushhair_happy
@EVELYN changes hair into Updo Pony Wavy Long
} "No keep it " {

}

I used a template in place of your hair choice.
The error was caused because you have to make each choice it’s own choice like:

NARR
this is choice 1
choice code

NARR
this is choice 2

and use labels to make the system “goto” where you want. Like for you it’s 2 dress choices then yes sends you to the hair label I put in, and the no takes you to ‘are you sure’ at the end of your hair template. :slight_smile:
Give this a go (you’ll have to hit Ctrl + H then type @/PARKER in the first bar and your characters @ name in the second one and click the “all” to replace all of them with your charcters name. THEN do the same for the name SOPHIE) lol

code

label Outfit_choice
@/PARKER spot 1.280 150 8 in zone 1
PARKER (think_rubchin)
Which dress should I wear?
choice " 1st dress " {
@/PARKER is dustoff_neutral_loop
@/PARKER changes into SOPHIE_NEW_MOON_BAR_OUTFIT

NARR

Is this the dress you want?
choice “Yes!” {
goto hairchoice
} “No, I want to try on another one” {
goto Outfit_choice
}

} " 2nd dress " {
@/PARKER is dustoff_neutral_loop
@/PARKER changes into SOPHIE_NEW_MOON_BAR_OUTFIT_NUMBER_TWO
}
NARR
Is this the dress you want?
choice “Yes!” {
goto hairchoice
} “No, I want to try on another one” {
goto Outfit_choice

}

NARR
Do you want a new hairstyle?
choice “Yes!” {
goto hairchoice
} “No, I’m perfect!” {
continue
}

label hairchoice
readerMessage Template made by @dara.amarie.ep (Instagram)! with messageTitle Thanks, Dara!

    PARKER (primp_neutral)

Which hairstyle should I choose?
choice
“Yes, let’s change it!” {
goto hair_styles_0
} “No, keep my current hairstyle.” {
NARRATOR
Are you sure you don’t want to change it?
choice
“Yes, I’m sure.” {
goto after_hair_change_0
} “Actually, let’s change it!” {
goto hair_styles_0
}
}

label hair_styles_0

    NARRATOR
All hairstyles.

choice
“Shorter”{
goto hair_Short_0
}“Medium”{
goto hair_Medium_0
}“Longer”{
goto hair_Long_0
}“Afro-Textured” {
goto hair_Afro_0
} “Updo’s” {
goto hair_Updo_0
}“Low Styled” {
goto hair_Styled_0
}“Done”{
goto hair_change_end_0
}

label hair_Short_0

    NARRATOR
Short hairstyles.

choice [shouldPaginate: YES]
“Classic Bob” {
@/PARKER changes hair into Classic Bob
goto hair_Short_0
} “Curly Bob” {
@/PARKER changes hair into Curly Bob
goto hair_Short_0
}“Pixie” {
@/PARKER changes hair into Short Pixie
goto hair_Short_0
}“Punk Pixie” {
@/PARKER changes hair into Punk Pixie
goto hair_Short_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Short Wavy” {
@/PARKER changes hair into Short Wavy Hair Solid
goto hair_Short_0
}“Blunt Bangs” {
@/PARKER changes hair into Blunt Bangs Short
goto hair_Short_0
} “Wavy Side Shaved” {
@/PARKER changes hair into Short Wavy Side Shave
goto hair_Short_0
}“Curly Blow Out” {
@/PARKER changes hair into Short Curly Blow Out
goto hair_Short_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Crew Cut” {
@/PARKER changes hair into Crew Cut
goto hair_Short_0
}“Short Fringe” {
@/PARKER changes hair into Short Layered Fringe
goto hair_Short_0
}“Straight Tucked” {
@/PARKER changes hair into Short Straight Tucked
goto hair_Short_0
}“Emo Pixie” {
@/PARKER changes hair into Emo Pixie
goto hair_Short_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Conservative Cut” {
@/PARKER changes hair into Conservative Cut
goto hair_Short_0
}“Parted Bangs” {
@/PARKER changes hair into Long Bang Short Hair
goto hair_Short_0
}“Side Part Curly” {
@/PARKER changes hair into Side Part Curly Asymmetrical
goto hair_Short_0
}“Short Flipped” {
@/PARKER changes hair into Short Flipped Wavy Solid
goto hair_Short_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}

label hair_Medium_0

    NARRATOR
Medium hairstyles.

choice [shouldPaginate: YES]
“Hair Flip” {
@/PARKER changes hair into Hair Flip
goto hair_Medium_0
}“Straight” {
@/PARKER changes hair into Straight Medium
goto hair_Medium_0
}“Lob Bangs” {
@/PARKER changes hair into Lob Bangs Blunt
goto hair_Medium_0
}“Overgrown Bangs” {
@/PARKER changes hair into Medium Straight Overgrown Bangs
goto hair_Medium_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Wavy Ombre” {
@/PARKER changes hair into Short Wavy Ombre
goto hair_Medium_0
}“Medium Curly” {
@/PARKER changes hair into Medium Curly Solid
goto hair_Medium_0
}“Parted Wavy” {
@/PARKER changes hair into Short Wavy Asymmetrical
goto hair_Medium_0
} “Wavy Side Curls” {
@/PARKER changes hair into Wavy Side Curls
goto hair_Medium_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Layered Wavy Bob” {
@/PARKER changes hair into Layered Wavy Bob
goto hair_Medium_0
}“Straight Down” {
@/PARKER changes hair into Medium Straight Down
goto hair_Medium_0
} “Shoulder Curly” {
@/PARKER changes hair into Medium Shoulder Curly
goto hair_Medium_0
} “3A Shoulder Curls” {
@/PARKER changes hair into 3A Shoulder Length Curls Hair
goto hair_Medium_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}

label hair_Long_0

    NARRATOR
Long hairstyles.

choice [shouldPaginate: YES]
“Straight” {
@/PARKER changes hair into Long Straight Loose Solid
goto hair_Long_0
}“Feathered” {
@/PARKER changes hair into Long Feathered
goto hair_Long_0
}“Long Blunt Bangs” {
@/PARKER changes hair into Long Straight Loose Bangs Blunt Solid
goto hair_Long_0
}“Sideswept Bangs” {
@/PARKER changes hair into Long Straight Loose Bangs Sideswept Solid
goto hair_Long_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Beach Wave” {
@/PARKER changes hair into Beach Wave Hair
goto hair_Long_0
}“Wavy Long” {
@/PARKER changes hair into Wavy Long
goto hair_Long_0
}“Wavy Parted” {
@/PARKER changes hair into Long Wavy Parted Hair
goto hair_Long_0
}“Feathered Bangs” {
@/PARKER changes hair into Long Feathered Bangs Blunt
goto hair_Long_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Long Voluminous Curls” {
@/PARKER changes hair into Long Voluminous Curls Loose
goto hair_Long_0
}“Long Curls” {
@/PARKER changes hair into Long Curls
goto hair_Long_0
}“Wavy Princess Braid” {
@/PARKER changes hair into Long Down Wavy Princess Braid
goto hair_Long_0
}“Loose Curls” {
@/PARKER changes hair into Long Loose Curls
goto hair_Long_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Wavy Blowout” {
@/PARKER changes hair into Long Wavy Blowout
goto hair_Long_0
}“Side Shave” {
@/PARKER changes hair into Long Side Shave
goto hair_Long_0
}“Scene Hair” {
@/PARKER changes hair into Scene Swoosh
goto hair_Long_0
}“Slicked Back” {
@/PARKER changes hair into Long Straight Slicked Back
goto hair_Long_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Thick Curls” {
@/PARKER changes hair into Long Thick Curls
goto hair_Long_0
}“Loose Bangs Sideswept” {
@/PARKER changes hair into Long Wavy Loose Bangs Sideswept
goto hair_Long_0
}“Layered Side Part” {
@/PARKER changes hair into Long Layered Side Part
goto hair_Long_0
}“Widows Peak” {
@/PARKER changes hair into Long Tapered Widows Peak
goto hair_Long_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Long Straight Wavy Parted Ends” {
@/PARKER changes hair into Long Straight Wavy Ends Parted
goto hair_Long_0
}“Side Swept Wavy Long” {
@/PARKER changes hair into Side Swept Wavy Long Solid
goto hair_Long_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}

label hair_Afro_0

    NARRATOR
Afro-textured hairstyles.

choice [shouldPaginate: YES]
“Afro” {
@/PARKER changes hair into Afro
goto hair_Afro_0
} “Short Afro” {
@/PARKER changes hair into Short Afro
goto hair_Afro_0
}“Type 4 Afro” {
@/PARKER changes hair into Type 4 Afro
goto hair_Afro_0
}“Natural Afro” {
@/PARKER changes hair into Natural Afro
goto hair_Afro_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Type 4 High Puff” {
@/PARKER changes hair into Type 4 High Puff Hair
goto hair_Afro_0
}“Braided Afro Bun” {
@/PARKER changes hair into Braided Afro Bun
goto hair_Afro_0
}“Double Afro Puffs” {
@/PARKER changes hair into Curly Double Afro Puffs
goto hair_Afro_0
}“Natural Pulled Updo” {
@/PARKER changes hair into Natural Curly Pulled Updo Hair
goto hair_Afro_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Shoulder Curly” {
@/PARKER changes hair into Medium Shoulder Curly
goto hair_Afro_0
}“Shoulder Curly Half Bun” {
@/PARKER changes hair into Medium Shoulder Curly Bun Hair
goto hair_Afro_0
}“Voluminous Curls” {
@/PARKER changes hair into Voluminous Curls
goto hair_Afro_0
}“High Bun Coil” {
@/PARKER changes hair into Type 3 High Bun Coil Hair
goto hair_Afro_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Short Fade” {
@/PARKER changes hair into Short Curly Fade
goto hair_Afro_0
}“Bantu Knots” {
@/PARKER changes hair into Bantu Knots
goto hair_Afro_0
}“Updo Braids” {
@/PARKER changes hair into Braids Updo
goto hair_Afro_0
}“Braided Bun” {
@/PARKER changes hair into Braided Bun
goto hair_Afro_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Dreads Braided Parted” {
@/PARKER changes hair into Dreads Braided
goto hair_Afro_0
}“Locks” {
@/PARKER changes hair into Shoulder Length Locks Hair
goto hair_Afro_0
}“Side Shave Braids” {
@/PARKER changes hair into Curly Braids Hair
goto hair_Afro_0
}“Faux Hawk” {
@/PARKER changes hair into Long Faux Hawk Solid
goto hair_Afro_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Medium Braided” {
@/PARKER changes hair into Medium Braided
goto hair_Afro_0
}“Long Braided” {
@/PARKER changes hair into Long Braided
goto hair_Afro_0
}“Medium Dreadlocks” {
@/PARKER changes hair into Medium Dreadlocks
goto hair_Afro_0
}“Long Dreadlocks” {
@/PARKER changes hair into Long Dreadlocks
goto hair_Afro_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Half Up Locs” {
@/PARKER changes hair into Half Up Locs Long Hair
goto hair_Afro_0
}“Over Shoulder Locs” {
@/PARKER changes hair into Over Shoulder Locs Hair
goto hair_Afro_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}

label hair_Updo_0

    NARRATOR
Updo hairstyles.

choice [shouldPaginate: YES]
“Updo Low Bun” {
@/PARKER changes hair into Updo
goto hair_Updo_0
}“Updo Curly Messy” {
@/PARKER changes hair into Updo Curly Messy
goto hair_Updo_0
}“Updo Twist Bangs” {
@/PARKER changes hair into Updo High Twist Bangs Blunt
goto hair_Updo_0
}“Morning Updo” {
@/PARKER changes hair into Morning Updo
goto hair_Updo_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Small Bun” {
@/PARKER changes hair into Small Bun
goto hair_Updo_0
}“Messy Sock Bun” {
@/PARKER changes hair into Messy Sock Bun
goto hair_Updo_0
}“Double Buns” {
@/PARKER changes hair into Double Buns
goto hair_Updo_0
}“Blunt Bangs Ponytail” {
@/PARKER changes hair into Pony Tail Blunt Bangs
goto hair_Updo_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Braided Curly Pony” {
@/PARKER changes hair into Braided Curly Pony
goto hair_Updo_0
}“Messy Ponytail” {
@/PARKER changes hair into Short Messy Pony Tail
goto hair_Updo_0
}“Updo Princess Braid” {
@/PARKER changes hair into Long Updo Wavy Princess Braid
goto hair_Updo_0
}“High Spiral Pigtail” {
@/PARKER changes hair into High Spiral Pigtail Hair
goto hair_Updo_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Short Ponytail” {
@/PARKER changes hair into Short High Ponytail
goto hair_Updo_0
}“Long Ponytail” {
@/PARKER changes hair into Long High Ponytail
goto hair_Updo_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}

label hair_Styled_0

    NARRATOR
Low styled hairstyles.

choice [shouldPaginate: YES]
“Sleek Ponytail” {
@/PARKER changes hair into Sleek Ponytail
goto hair_Styled_0
}“Over Shoulder Braid” {
@/PARKER changes hair into Over Shoulder Braid
goto hair_Styled_0
}“Double Dutch Braids” {
@/PARKER changes hair into Long Double Dutch Braids
goto hair_Styled_0
}“Side Swept” {
@/PARKER changes hair into Side Swept Updo Long
goto hair_Styled_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Pinup Rolls” {
@/PARKER changes hair into Pinup Victory Rolls
goto hair_Styled_0
}“High Wavy Pony Tail Over Shoulder” {
@/PARKER changes hair into High Wavy Pony Tail Over Shoulder Solid
goto hair_Styled_0
}“Bouffant Wavy” {
@/PARKER changes hair into Bouffant Long Wavy
goto hair_Styled_0
}“Long Wavy Ponytail” {
@/PARKER changes hair into Updo Pony Wavy Long
goto hair_Styled_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Half Up Top Knot Ponytail” {
@/PARKER changes hair into Medium Half Up Top Knot Ponytail
goto hair_Styled_0
}“Long Half Up Ponytail” {
@/PARKER changes hair into Long Half Up Ponytail Hair
goto hair_Styled_0
}“Side Bang Double Bun” {
@/PARKER changes hair into Medium Side Bang Double Bun
goto hair_Styled_0
}“Double Bun Half Down” {
@/PARKER changes hair into Double Bun Half Down Hair
goto hair_Styled_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}
“Updo Curly Long” {
@/PARKER changes hair into Updo Curly Long
goto hair_Styled_0
}“Long Curl Half Updo” {
@/PARKER changes hair into Long Curl Half Updo
goto hair_Styled_0
}“Full Pigtail” {
@/PARKER changes hair into Full Pigtail
goto hair_Styled_0
}“Punk Hair” {
@/PARKER changes hair into Cropped Punk Cut
goto hair_Styled_0
}“Back to Styles”{
goto hair_styles_0
}“Done”{
goto hair_change_end_0
}

label hair_change_end_0

    NARRATOR
Is this the look you're going for?

choice
“Yes, I look perfect!” {
readerMessage Follow @dara.amarie.ep on Instagram! with messageTitle Hair Template Credit
@/PARKER is blush_shy
goto after_hair_change_0
} “No, I want to try a different style.” {
goto hair_styles_0
}

label after_hair_change_0

    PARKER (talk_primp_neutral)
I look fabulous!

@/PARKER exits left

I ran this and it all works properly. Let me know if any errors come up :slight_smile:

I need help again because I’ve tried almost everything to get rid of the error but it just keeps saying the same thing
NARR
Is this the dress you want?
choice “Yes!” {
continue
} “No, I want to try on another one” {
goto Outfit_choice
}

} " 2nd dress " {
@EVELYN is dustoff_neutral_loop
@EVELYN changes into EVELYN_NEW_MOON_BAR_OUTFIT_NUMBER_TWO
}
NARR
Is this the dress you want?
choice “Yes!” {
continue
} “No, I want to try on another one” {
goto Outfit_choice

}

    NARR
Would you like to change her hair?

choice "Yes change it " {
@EVELYN is primp_brushhair_happy
@EVELYN spot 1.280 150 8 in zone 1
EVELYN (think_rubchin)
Which dress should I wear?

    NARR
Is this the dress you want?

choice “Yes!” {
} “No, I want to try on another one” {
goto Outfit_choice
}

}

} "No keep it " {

}

Can you tell me what the error message says? Is it a missing } or a different error?

1 Like

I’ll see what I can do :slight_smile:

1 Like

Can you copy the code for the first choice (the one that shows the two options dress1 and dress two?) ?

1 Like