DARA’S GUIDE: Remember Choices with if/elif/else

Yes, as @ara.pia said, both methods work in the same episode and throughout different episodes.

1 Like

oh, okay. thanks for the quick response. it’s just been a different (frustrating) case for my script. flags only worked when i used them on different episodes and choice names seem to work when i use them on the same episode :pensive:. i’m just glad i can finally move on.

1 Like

Hm, I’m not sure what that could be. If you’re looking through the previewer, it could have something to do with your “story modifiers” section. If it’s still giving you trouble, I’d be happy to take a look at your script in pm, but if you’ve already gotten it to work, then disregard!

1 Like

Hi Daya! The script keeps saying error “there is not a line matching” even though I put down a second bracket, please help!

if (chose_ballroom) {
@zoom on 723 169 to 314% in 0
readerMessage Because you chose the ballroom…
ALLVAR (talk_shrug_neutral)
We decided our wedding will take place in the |bold| ballroom.
&zoom on 911 124 to 285% in 0.50 using easeinout
VICTORIA starts react_claphands_happy
@pause for 2
readermessage Victoria +5
VICTORIA (talk_reassure_neutral)
Brilliant!
VICTORIA (talk_pointup_happy)
Tradition is always better!
} else {
@zoom on 723 169 to 314% in 0
readerMessage Because you chose the garden…
ALLVAR (talk_shrug_neutral)
We decided our wedding will take place in the |bold| enchanted garden.
&zoom on 911 124 to 285% in 0.50 using easeinout
VICTORIA starts talk_startled_neutral
@pause for 2
readermessage Victoria -5
VICTORIA (talk_deny_neutral)
The garden?!
VICTORIA (talk_afraid)
But what about the bugs!
VICTORIA (talk_awkward_loop)
And leaves…
VICTORIA (talk_doubtful)
… And snails!
@zoom on 717 152 to 285% in 0
ALLVAR (talk_armscrossed_shrug_neutral)
You mean, nature?
@zoom on 905 131 to 285% in 0.50 using easeinout
VICTORIA (talk_handsonhips_angry_loop)
|bold| Yes!
VICTORIA starts deepbreath
@pause for 3
VICTORIA (talk_exhausted)
Well, it is |bold| your |reset| wedding…
VICTORIA (talk_explain_neutral)
I suppose we could make it doable.
@zoom on 713 159 to 292% in 0
ALLVAR (talk_armsraised_neutral)
Thank you, mother.
}

You didn’t capitalize the M in readerMessage

Omg, it worked! Thank you!

1 Like

Bump :frog:

Sorry for bothering, but i need some help. When i use the gain option and if/elif/else, the cutscenes play one after another (meaning if I choose option 2, it’ll play the cutscene of option 1 and 2) How do I fix that? (For some reason I cannot post screen-shots here- )

Bump :evergreen_tree:

Awesome!

I don’t know if this was already asked, but is it possible to put in if/elif/else more than one command (combination of gain & points OR gain & gain OR Points & Points)? If yes, how many gains and points can we add?

Something like (just an example):

if (kiss_li AND tell_truth) {
#script
} elif (reject_li AND tell_truth){
#script
}else {
#script
}

Thanks in advance! :slight_smile:

I still don’t understand. when i write the else, where do i write the scene and where do i put the (------)?
can you plz tell me

Look at the example in my guide above.

Bump :maple_leaf:

Hii @Dara.Amarie ! I have a question, if you use a flag gain in a dressing game in one episode, and need to remember the chosen outfit for the following episode, would the flag work, and will the outfit will be the same as the one chosen previously? Also, can you use the same flag gain names for the two female/male LI branches?

@Dara.Amarie I really have a doubt.
For remembering a regular choice in my story, should I use choice naming or flags?
What would you recommend?

choice (Feeling)
“I Feel Embarrassed”{

@pan to zone 1

    NAME (talk_exclaim_no_worried)
Ok

@pan@pan to zone 1

readerMessege Don't be too...embarrassed you'll get so many | animation:shuffle-sideways | HOTTI'S TO DATE

@pan to zone 3

    LAYLA (talk_pointup_happy)  
Don't be embarrassed be confident while outgoing

@pan to zone 1

    NAME (react_bouquet_disappointed_slouch)
Yes...I'll try ha....

@pan to zone 3

    LAYLA (talk_cup_worried)
Getting late for the college we shall move 

to zone 3

@LAYLA exits right

@pan to zone 1

@follow NAME to screen center in zone 3

@pause for a beat

@NAME exits right

@transition fade out white 2

}“I feel confident” {

@pan to zone 1

readerMessege Good choice you | superscript | rock!!!

@pan to zone 3

    LAYLA (talk_excited_happy)
I like your spirit from where did you got that??

@pan to zone 1

    NAME (talk_flirt_coy)
From my Mom when i was a kid she die due to a cancer 

@pan to zone 3

    LAYLA (talk_afraid)
I'm really sorry (NAME).

@pan to zone 1

    NAME (talk_awkward_loop)
It's ok...

    NAME (talk_armscrossed_condescending_loop)
We're getting late! isn't we?

@pan to zone 3

    LAYLA (talk_apathetic)
YOU're write we shall move now.

@LAYLA exits right

@follow NAME to screen center in zone 3

@pause for a beat

@NAME exits right

@transition fade out white 2

}

if (Feeling is “I feel confident”) {

} else {

}
@Dara.Amarie please Help me i don’t know what’s error in my script??

Well what error message are you getting? It’s better to post a screenshot of your script

ok

Fix this bolded part