HELP! Coding issue

I’m having a little issue with my script.

I have my MC going to a party and she has a choice on 3 outfits. (It is also a halloween party)

Later on in the next episode someone compliments her outfit and she replies saying i.e
"Thanks, I thought I’d be a sexy > Outfit choice < .

I will c+p my script at the end, but can someone please help as she seems to only be saying the last option even when I’ve picked the first option.

Script
    JAXON (talk_flirt_charming)
I'm liking the costume.

&LEIGHTON starts blush_shy

if (halparty was “Leighton”) {

    MILA (talk_primp_neutral)
Thanks! Thought I'd go with a |bold, color:red| sexy Mafia boss.

} elif (halparty was “Skylar”) {

    MILA (talk_primp_neutral)
Thanks! Thought I'd go with a |bold, color:red| sexy demon.

} else {

    MILA (talk_primp_neutral)
Thanks! Thought I'd be a |bold, color:red| sexy superhero.

}

1 Like

You could use gains to show what outfit you picked. For example, if you were to choose the superhero outfit, you could use the gain point inside the outfit choice by saying:

gain superherocostume (or anything else really)

If you’re letting them choose to keep or not keep the outfit, then use a lose command for the same thing, like:

lose pointname

In the next episode, since you have the gain point for only that specific option, you use an if/elif/else statement like this:

if(pointname) {

    MILA (talk_primp_neutral)
Thanks! Thought I'd go with a |bold, color:red| sexy Mafia boss.

}elif (pointname) {

    MILA (talk_primp_neutral)
Thanks! Thought I'd go with a |bold, color:red| sexy demon.

} else {

    MILA (talk_primp_neutral)
Thanks! Thought I'd be a |bold, color:red| sexy superhero.

}

I tried some, but I’m kinda bad at explaining things, so I hope this helped? I’m also not sure if this is what you meant/wanted, but it’s the first thing that came to mind… :sweat_smile:

2 Likes

Thank you so much! This worked! Xx

Do you have an instagram I can put into my story to thank you? :purple_heart:

1 Like

No, you don’t have to credit me! You’re welcome. :heart:

1 Like

Only if you’re sure but I wouldn’t mind doing it!

But thank you, thank you, thank you, thank you :purple_heart:

1 Like

Since when can you lose a gain? I’m honestly asking, I don’t know how that works

Yeah, you could lose or gain points, that usually happen in story’s when you choose something wrong or things like that

Yes, I know you can lose and gain points, but I was talking about gains