So i just put the archer in the game. my problem is that the ai controller on all enemies will get the player by tag at start but then do it a second time on start and they for some reason decide to pick my guard1 or my new archer class the second time. I tried to delete my .sav and one time it worked becuase all enemies decided to find player the second time instead of the first time so it worked. but now they all just find the archer. help?
private void Start()
{
player = GameObject.FindWithTag("Player");
print("im " + gameObject + " my target is " + player);
health = GetComponent<Health>();
mover = GetComponent<Mover>();
fighter = GetComponent<Fighter>();
gaurdPosition = transform.position;
}