CLONE ACTOR TROUBLE
Posted: Thu May 22, 2008 10:01 pm
well i having a problem with clone actors.
im making a strategy game where when you click on a soldier he will move to the closest enemy and attack it.
but theres one problem, when i click on them they all move to the same enemy and they go in the order they were created in.
so what im asking is how do you make an actor move to the closest "enemy" actor if the enemy actors are all clones?
im making a strategy game where when you click on a soldier he will move to the closest enemy and attack it.
but theres one problem, when i click on them they all move to the same enemy and they go in the order they were created in.
so what im asking is how do you make an actor move to the closest "enemy" actor if the enemy actors are all clones?