How to Create AI TDS???

Get help using Construct 2

Post » Sun Dec 11, 2016 12:42 pm

Hello!I make plain AI,
but there is a problem.
If you stand behind a solid object,
That enemy will just stand
How to fix it?
Image
B
7
S
1
Posts: 3
Reputation: 418

Post » Sun Dec 11, 2016 9:08 pm

Pathfinding find paths needs to be run every few seconds or if the distance is not met..there are numerous errors in your script..do you have a set of conditions to find the path? Its not shown...
When in doubt..or you are lost in a Zombie apocalypse or someone is giving you a hard time..Remember one thing..... Read the Construct 2 Manual..it will save your life.:)
B
35
S
13
G
8
Posts: 318
Reputation: 7,685

Post » Wed Dec 14, 2016 2:42 pm

mystazsea wrote:Pathfinding find paths needs to be run every few seconds or if the distance is not met..there are numerous errors in your script..do you have a set of conditions to find the path? Its not shown...

Yes.
Has LineOfSight to Hero
Evero 0.1 seconds -------> set alarm to 1
find path to (hero.X,hero.y)
B
7
S
1
Posts: 3
Reputation: 418


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests