I’m currentrly writing a new chapter and I want to remember a past choice (two in total) from the previous chapter.
How do I do it? I tried so many times, by reading over and over again Dara’s guide and reading about other’s topic to see if I can finally see what I’m doing wrong, but I falied. I can’t see the problem as much as I want.
Also, as soon as I saw the error I wrote the coding again, and then for doubts with flags/gains but nothing.
Which line is line 36? Do you have an end bracket for the “else” part?
Your if/else coding is correct but if you’re previewing your story with the web previewer, it won’t remember the choice because the choice is in the previous chapter. The Web previewer doesn’t remember things from other chapters, so you’ll need to test this in the app to make sure it works.
Okay so when you get an error message saying there is a missing bracket but all brackets are there, then that means there is an error inside those brackets that you need to fix. It’s a bit hard for me to see the photo clearly. Can you copy and paste the part inside the “if” part here and I can find the error?
@pause for 1
&KIARA is selfie_phone THEN pause for 1 THEN KIARA is text_phone_neutral_loop @pause for 0.7
&EXTRA7 is flirt_wink_happy THEN pause for 1 THEN EXTRA7 is think_rubchin @pause for 2.5
@transition fade in white in 0.2
&EXTRA7 moves to layer 2 @EXTRA7 walks to spot 0.247 59 451 in zone 2 in 1.5
&EXTRA7 is kiss_makeout_start_rear THEN pause for 0.5 THEN EXTRA7 is kiss_passionate_loop_rear @EXTRA7 faces left
@transition fade in white in 0.2
&KIARA spot 0.231 75 452 in zone 2
&KIARA is slapface_give_angry
&KIARA moves to layer 3
&zoom on 387 316 to 1406% in 0.1
&EXTRA7 is slapface_receive_angry @EXTRA7 faces right @pause for 1
@transition fade in white in 0.2
} else {
&zoom on 356 312 to 848% in 2.5 @KIARA walks to spot 0.231 59 453 in zone 2 in 2 @KIARA faces right
&KIARA is talk_handsonhips_neutral_rear @pause for 0.5
&KIARA spot 0.231 46 453 in zone 2
&KIARA is flirt_liftchin_give_rear @pause for 1
@transition fade in white in 0.2
&zoom on 365 316 to 1196% in 1.5
&EXTRA7 is kiss_makeout_start THEN pause for 0.5 THEN EXTRA7 is kiss_passionate_loop @pause for 2.5
@transition fade in white in 0.2
&zoom on 363 308 to 848% in 0.2
&KIARA is kick_crotch_give AND KIARA faces left
&EXTRA7 moves to layer 5
&EXTRA7 is kick_crotch_receive_rear AND EXTRA7 faces left @pause for 1
For some reason, there’s a blank space on line 66 that the script doesn’t seem to like. Just delete line 66 and save and it should get rid of the error.
I did it but nothing. I deleted everything but the coding, but it keeps showing me the same error. Doesn’t matter on which line, wherever the coding starts is where the error is.
if (BEACH_PICTURE is “Take a picture with him”) {
@pause for 1
&KIARA is selfie_phone THEN pause for 1 THEN KIARA is text_phone_neutral_loop
@pause for 0.7
&EXTRA7 is flirt_wink_happy THEN pause for 1 THEN EXTRA7 is think_rubchin
@pause for 2.5
@transition fade in white in 0.2
&EXTRA7 moves to layer 2
@EXTRA7 walks to spot 0.247 59 451 in zone 2 in 1.5
&EXTRA7 is kiss_makeout_start_rear THEN pause for 0.5 THEN EXTRA7 is kiss_passionate_loop_rear
@EXTRA7 faces left
@transition fade in white in 0.2
&KIARA spot 0.231 75 452 in zone 2
&KIARA is slapface_give_angry
&KIARA moves to layer 3
&zoom on 387 316 to 1406% in 0.1
&EXTRA7 is slapface_receive_angry
@EXTRA7 faces right
@pause for 1
@transition fade in white in 0.2
} else {
&zoom on 356 312 to 848% in 2.5
@KIARA walks to spot 0.231 59 453 in zone 2 in 2
@KIARA faces right
&KIARA is talk_handsonhips_neutral_rear
@pause for 0.5
&KIARA spot 0.231 46 453 in zone 2
&KIARA is flirt_liftchin_give_rear
@pause for 1
@transition fade in white in 0.2
&zoom on 365 316 to 1196% in 1.5
&EXTRA7 is kiss_makeout_start THEN pause for 0.5 THEN EXTRA7 is kiss_passionate_loop
@pause for 2.5
@transition fade in white in 0.2
&zoom on 363 308 to 848% in 0.2
&KIARA is kick_crotch_give AND KIARA faces left
&EXTRA7 moves to layer 5
&EXTRA7 is kick_crotch_receive_rear AND EXTRA7 faces left
@pause for 1
@transition fade in white in 0.2
}