I have set up an AI for a mosquito. The mosquito is linked in as a group to the level file.
Now I have duplicated them so that I have a few mosquitos in the level.
But it seems that the logic is only working right by the first duplicated group.
For attacking I used to calculate the distance between the mosquito and the player like this:
AttackDist = Mosquito.getDistanceTo(Char)
Now I found out that it calculates only the distance for first duplicated group and uses this also for the others.
So is that not possible to get the distance for all duplicated mosquitos?
Thanks for any help in advance