Hello there.
Early on in my project the protagonist is fresh off the boss fight. The inn is provided to rest up in and provide a plot progression. If one tries to go further down the path, an NPC blocking the way will inform them that the army's currently dealing with a monster infestation and that it'll be safer in the morning (a pretty blatant nudge so that the player goes to the inn, but I'm a dumbdumb like that).
If the player insists on talking to the NPC again, he will assume ill intent (for context: the protag is carrying a girl who's a bit out of it at the time, in the middle of the night), but give him and the player the benefit of the doubt. Talking with the NPC again will initiate a boss battle which the player is unlikely to win. All of this was done to create something more diverse than a generic roadblock guard that endlessly repeats his phrase over and over. However, I've a problem: it doesn't work as intended.
Here's how it works:
1. If you sleep in the inn, the NPC will disappear via a switch trigger (SleptInInn)
2. Talking with him for the first time switches on TalkedWithFalkirk (which I was planning to use for later in the game, which is why it's not Selfswitch A).
3. Talking with him the second time triggers Selfswitch A, and the third time will process a boss battle.
4. Currently, if you do not talk with Falkirk and just rest at the inn, he'll disappear as intended. If you do, however, it seems that TalkedWithFalkirk is prioritized over SleptWithInn, and he stays around.
I'd appreciate any and all help that could be given on the matter. c:
Early on in my project the protagonist is fresh off the boss fight. The inn is provided to rest up in and provide a plot progression. If one tries to go further down the path, an NPC blocking the way will inform them that the army's currently dealing with a monster infestation and that it'll be safer in the morning (a pretty blatant nudge so that the player goes to the inn, but I'm a dumbdumb like that).
If the player insists on talking to the NPC again, he will assume ill intent (for context: the protag is carrying a girl who's a bit out of it at the time, in the middle of the night), but give him and the player the benefit of the doubt. Talking with the NPC again will initiate a boss battle which the player is unlikely to win. All of this was done to create something more diverse than a generic roadblock guard that endlessly repeats his phrase over and over. However, I've a problem: it doesn't work as intended.
Here's how it works:
1. If you sleep in the inn, the NPC will disappear via a switch trigger (SleptInInn)
2. Talking with him for the first time switches on TalkedWithFalkirk (which I was planning to use for later in the game, which is why it's not Selfswitch A).
3. Talking with him the second time triggers Selfswitch A, and the third time will process a boss battle.
4. Currently, if you do not talk with Falkirk and just rest at the inn, he'll disappear as intended. If you do, however, it seems that TalkedWithFalkirk is prioritized over SleptWithInn, and he stays around.
I'd appreciate any and all help that could be given on the matter. c: