Friendly: Can Attack Enemy Flagged Groups, Will Not Attack You
Enemy: Can Attack, Attacks As Usual Combat Would Be
*+* Make It So It Can Swicth, Like In This Instance, They will Be Friendly/Enemy
I.E. : Gorn Friendly, You Say Wrong Thing, They Are Enemies
*+* Knock Out Instead Of Death Might Be nice Too.
I know what your're asking, I'm just saying that making something like a Gorn faction that's hostile to KDF players would require making a duplicate Gorn faction that has different allegences than regular Gorn. This is where things like the rebel Gorn faction come from in the game.
As to making a hostile group turn friendly after defeat, that's an NPC behavior and one that's in Neverwinter's foundry. Hopefully we'll get it eventually.