// Start is called before the first frame update
 private void OnEnable()
 {
     health          = baseHealth;
     status          = 0;
     attackComponent = GetComponent <ShamblerAttacks>();
     isDead          = false;
 }
    // Start is called before the first frame update
    private void OnEnable()
    {
        //timer = 0;
        aggroTimeLimit  = 10;
        senses          = GetComponent <ShamblerDetection>();
        nav             = GetComponentInParent <NavMeshAgent>();
        pManager        = FindObjectOfType <InGamePlayerManager>();
        wandOffset      = 10;
        toPlayerOffset  = 20;
        wandAngle       = 60;
        wandRad         = 10;
        weapons         = GetComponent <ShamblerAttacks>();
        animator        = GetComponentInChildren <Animator>();
        maxSpd          = GetComponent <NavMeshAgent>().speed;
        isSpitting      = false;
        extractionTruck = GameObject.Find("ExtractionTruck").GetComponent <Transform>();

        // delete this after figuring out why the shambler won't move to the truck sometimes
        moveTo = gameObject.transform.position;
        //playerOffset = 5;
    }