Can't test it at the moment but why wouldn't the below work?

//Check for player 1 attacking NPC
IF
CharacterAttackedByCharacter(_Char,CHARACTER_Player1)
AND
NOT dbCombat(_Char,_)
THEN
ProcMakeNPCHostile(_Source,_Char);


/Separate function for player 2 because I'm bad
IF
CharacterAttackedByCharacter(_Char,CHARACTER_Player2)
AND
NOT dbCombat(_Char,_)
THEN
ProcMakeNPCHostile(_Source,_Char);

Last edited by Burgee; 11/11/14 01:34 AM.