anyone know how to make a pathfinding list
so for example
1st target = enemy1
then if enemy 1 is dead/destroy
go to next list
i try to use onfailed pathfinding, but loop too many recursive = hang
Develop games in your browser. Powerful, performant & highly capable.
It will arrive at the location it had found, wether or not the enemy is still there ...
So you need an "on arrived"
Then, do a new pathfind assigment followed up by move along path.
List Or PathfindingArray ? --> Insert object: array enemys ->
if we want to make on path find failed validation
we need to use variable ?
if not found the path to the enemy 1 then ... find base
if not found the path to the base then ...
how to make that in c2 ?
on path failed : ..
or 2x path failed?