ACR_CreatureBehavior.CreatureObject.CanAct C# (CSharp) Method

CanAct() public method

This determines if the creature has any negative status effects which prevent actions in combat.
public CanAct ( ) : bool
return bool
        public bool CanAct()
        {
            if (Charmed) return false;
            if (Confused) return false;
            if (Dominated) return false;
            if (Frightened) return false;
            if (Insane) return false;
            if (Paralyzed) return false;
            if (Petrified) return false;
            if (Sleeping) return false;
            if (Stunned) return false;
            if (Turned) return false;
            return true;
        }