- Joined
- Sep 9, 2007
- Messages
- 253
I was hoping to find a check, or a condition, which is able to determine weather or not a unit has a valid path to another unit?
My reasoning is in the context of mazing.
Something like:
If there is a valid path that a unit has to it's current target
then order unit to attack Target
else order unit to attack move toward position of target.
would be ideal. (I understand SC2 has a native oncdition along the lines of "can unit move from point A to point B" but I don't want to use sc2.
Thanks.
My reasoning is in the context of mazing.
Something like:
If there is a valid path that a unit has to it's current target
then order unit to attack Target
else order unit to attack move toward position of target.
would be ideal. (I understand SC2 has a native oncdition along the lines of "can unit move from point A to point B" but I don't want to use sc2.
Thanks.