Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Hello,
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
etc...
i try to use onfailed pathfinding, but loop too many recursive = hang
thanks
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"
do something
Then, do a new pathfind assigment followed up by move along path.
List Or PathfindingArray ? --> Insert object: array enemys ->
Add Values
if we want to make on path find failed validation
we need to use variable ?
for example
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?