I forgot how i made it, but I had gambits that would make characters attack things if they were attacked, unless the character I controlled had a target, then they would attack what I was attacking.

You're not playing IZJS are you?