I doubt anyone can help with this but I thought I'd give it a whirl anyway.
So I'm playing 4 PC's in Black Pits 2. I like the idea of an arena for testing character ideas and trying out different build combinations. Anyway I'm starting to get into the "game" part of it , rather than just testing builds. I don't want to start over with a full team.....sooooo
I use the console to spawn Rasaad10.cre and keldor10.cre, 2 NPC's I'll probably use in my next BG2 run. They didn't have join dialogue, so I control-Q them in my team. I know..I know....
Everything looks good and I can take them into the arena fine. But as soon as the battle ends...they are immediately removed from the team...before any dispels or rest...before Dennaton even talks.
Anyway...I like learning so I dive into the dlg's and scripts to see whats removing them but at this point I spent more time trying to find that needle than it took to build the haystack. I found 2 local variables (OHB_IMMUNE_REM, OHB_SUZA) and a Global variable set to 4 (OHB_START_BATTLE) that looked promising, the new guys didnt have those locals, and the global is set all the time in the scripts and is the only global set to 4, but neither has had an effect when I change them in Shadowkeeper.
Anyway, lesson learned, this is why I always play multi-player, but if anyone has experienced the same thing and has a good guess as to whats happening I'd like to know just to better understand how the game even knows what my starting squad was or where... other than globals, that info would be stored.