Thanks for the quick reply
I tried it and it works but there are still 2 issues.
1. If there are 2 good and 1 bad troops and a new bad troop is created that is closer to the 2nd good troop, this 2nd good troop will not change target but instead it will use the 1st bad troop it saw and move towards it.
2. How do I use the target LOD in order to shoot the arrow accordingly?
Thanks :)