FLAG help & questions

EPISODE 15 (released)

If the reader has enough LUC (LI) points, they can share a room with him. If they don’t have enough points they room with a different character, but have the option to buy access rooming with the LI.

if (LUC = 3){
#dialouge

gain luc_cabin_roomie
} elif (LUC > 3){
#dialouge

gain luc_cabin_roomie
} elif (LUC < 3){
#dialouge

    NARR
You don't have enough points with the LI, would you like to buy the scene?

choice (shareRoom)
GEMS:8 “| bold |Yes, room with Luc!”{
#dialouge

gain luc_cabin_roomie
} “| bold |Nope, I’m good.”{
#dialouge

gain lorenzo_cabin_roomie
} else {

}

} else {

}

chapter ends

EPISODE 16 (not released)

if (luc_cabin_roomie){
#dialouge

Characters get correct dialouge

} elif (lorenzo_cabin_roomie) {
#dialouge

Characters get luc_cabin_roomie regardless

} else {

}

EPISODE 17 (testing episode)

When the coding from episodes 15&16 are put into the same episode, all the coding works perfectly (doesn’t matter if I test on mobile or in the writer portal).

My question is would the flags transfer from each episode (like points) or do they all have to be in the same episode? If this is the case how do I fix it? (I’m feeling guilty for the people who paid).

(had an similar issue when I wanted to make vertical scrolling, my coding was correct, the testing went perfectly, yet readers still had issues)

1 Like

Flags carry over from one episode to the next when readers read your story in the app. They don’t when you’re coding, you have to manually set the flags.

You can preset flags at the beginning of an episode for testing, just don’t forget to delete them before publishing.

3 Likes