All player characters are in the DB_IsPlayer database in the main campaign.
Thanks! I knew it was something that obvious. I had tried that before but obviously setting NPCs as playable in the sandbox won't add them to that DB_.
Is there a way to get all allied NPCs as well? Like henchmen and such?