I have come up with a certain script for fun, but it would be infinitely better if I could pick out the hostile enemies for any given encounter when combat starts.
What I have right now is something like this:
INIT Section
DB_ProtectedCharacters(CHARACTER_HOM_Astarte);
DB_ProtectedCharacters(CHARACTER_HOM_Astarte_SecondFight);
DB_ProtectedCharacters(CHARACTER_HIB_Leandra);
KB Section
IF
CharacterEnteredCombat(_Char, _ID)
AND
NOT _Char.isPlayer()
AND
NOT DB_ProtectedCharacters(_Char)
THEN
CharacterSetHitpointsPercentage(_Char, 0);
I imagine that I would use something like CharacterGetRelationToCharacter, but I'm not sure which value would be necessary.