Thank you sir for your reply and it gave me an idea on how work on this algorithm based on the scenario that you told me. Though can I ask for more scenario that the algorithm might face a problem or its disadvantage given that we only need to find the path not the shortest path or best path for it.
Somehow "multiple units going to one place" this made me realize that what is the path going to the target is only passable by one what will happened to the other variables?
also "one unit going to one of several goals" this means that the algorithm will find the shortest path right?
another one what if there is two target and they have the same range, where should it start to go?can I ask your suggestion for this sir >.< Thank you very much
for the moment I want to think of scenarios for this algorithm >.<