I'm currently working on a quest mod in which party management is very important.
I used this
tutorial and it worked fine until Definitive Edition.
I didn't want to ask for help on this because I had bypassed (or so I thought) the problem via dialog flags.
The issue is this : When calling the CharacterMakePlayer procedure it effectively adds the NPC to the party but it is NOT added to DB_IsPlayer database.
This means that, when you check with sys_count how many players there is, it always returns 1.
The real problem is that when the user Player (the first player that wasn't recruited this way) is killed the game engine evaluates this as Game Over.
So I ask : How do I ensure that the DB_IsPlayer is updated correctly ?