Believable Character Reasoning and a Measure of Self-Confidence for Autonomous Team Actors