Every character in my game has recurring cutscenes, and I need to find a way for the game to recognize when the player has read these scenes so that they can skip them the next time they interact with the character. I know you might think: just use a switch or a variable, but the problem is that each character has 10 cutscenes, and I have 12 characters. This would mean I'd have to waste 120 switch or variable slots, which I don't intend to do. Do you have any ideas on how I can accomplish this?
Let me explain a bit more about how the game works: In the central HUB, the game is divided into a variable: day (1) and day (2), representing day and night. During the day, you can go out to explore, while at night, you have to stay home and can talk to your party members.
When it is day (2), you can go to the party members, and if the variable (affection points [character name]) is high enough, you can unlock a cutscene. The cutscenes are at the thresholds of 5, 10, 20, 30, and 40 points. This is one reason why I need to check when a player has read a dialogue because if the player reaches 20 affection points, I want them to first have the opportunity to read the 5-point dialogue and then the 10-point one. These dialogues are all to be done by interacting with the dormitory door, no matter which character you want to talk to, so it's not possible for me to use self-switches (at least, I can't find a smart way to do it!).
When you go out and explore the world, it's a whole different story: there's a common event that sets a one-minute timer, after which a variable is randomly generated from 1 to 4. If the result is 1, a dialogue will occur, then there's another roll to decide which of your party members will talk to you. I know it might seem like an unnecessary feature, but it's an NSFW game, so the player will be happy to receive these events. In any case, the type of dialogue depends on the affection points, just like in the nighttime hub; there are dialogues for 5, 10, 20, 30, and 40 points. I would like to give the player the option to skip the scenes if they have already seen them at least once.
As you can see, since there are 12 characters, there will be a total of 120 scenes, so I would like to use as few switches as possible... do you have any ideas or advice? I hope I explained it well.
Let me explain a bit more about how the game works: In the central HUB, the game is divided into a variable: day (1) and day (2), representing day and night. During the day, you can go out to explore, while at night, you have to stay home and can talk to your party members.
When it is day (2), you can go to the party members, and if the variable (affection points [character name]) is high enough, you can unlock a cutscene. The cutscenes are at the thresholds of 5, 10, 20, 30, and 40 points. This is one reason why I need to check when a player has read a dialogue because if the player reaches 20 affection points, I want them to first have the opportunity to read the 5-point dialogue and then the 10-point one. These dialogues are all to be done by interacting with the dormitory door, no matter which character you want to talk to, so it's not possible for me to use self-switches (at least, I can't find a smart way to do it!).
When you go out and explore the world, it's a whole different story: there's a common event that sets a one-minute timer, after which a variable is randomly generated from 1 to 4. If the result is 1, a dialogue will occur, then there's another roll to decide which of your party members will talk to you. I know it might seem like an unnecessary feature, but it's an NSFW game, so the player will be happy to receive these events. In any case, the type of dialogue depends on the affection points, just like in the nighttime hub; there are dialogues for 5, 10, 20, 30, and 40 points. I would like to give the player the option to skip the scenes if they have already seen them at least once.
As you can see, since there are 12 characters, there will be a total of 120 scenes, so I would like to use as few switches as possible... do you have any ideas or advice? I hope I explained it well.