Pathfinding, and enemy attacking

Get help using Construct 2

Post » Tue Feb 10, 2015 1:07 am

When using the pathfinding behavior, it seems there's very limited things you can do while an enemy is pathfinding to it's destination. Is there a way to make it so if the player gets too close to the enemy, to make it actually attack, despite the fact that it's currently pathfinding/calculating it's path?
B
4
Posts: 78
Reputation: 606

Post » Tue Feb 10, 2015 1:10 am

The path finding shouldn't prevent you for making an enemy attack the player. You can just make a "Line of sight", "Distance check" etc. It should work even if the enemy is moving along a path or maybe I misunderstood you?
B
44
S
11
G
2
Posts: 1,181
Reputation: 6,816


Return to How do I....?

Who is online

Users browsing this forum: ephrisian, ismael123, Jhorbam and 10 guests