How do I fix this pathfinding issue?

Get help using Construct 2

Post » Fri Aug 07, 2015 7:13 am

I don't know if my code is wonky or if this is a bug of some sort, but my npcs are not moving although they should be. Any way, I can't figure out what's wrong so I might as well post the .capx. Thanks. https://www.dropbox.com/s/j2fzvrip0uf3c ... .capx?dl=0
B
8
S
2
Posts: 39
Reputation: 604

Post » Fri Aug 07, 2015 8:11 am

Cam112549 wrote:I don't know if my code is wonky or if this is a bug of some sort, but my npcs are not moving although they should be. Any way, I can't figure out what's wrong so I might as well post the .capx. Thanks. https://www.dropbox.com/s/j2fzvrip0uf3c ... .capx?dl=0

The way you use path finding is not good and is used a little wrong, that's why it doesn't work.
Image
Move along path is an action related to an object in this case your NPC, and should be used together with "On path found" and not every tick.

Here is a modified version that works:
Image
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,838

Post » Fri Aug 07, 2015 3:34 pm

Thank you :) I really appreciate it.
B
8
S
2
Posts: 39
Reputation: 604


Return to How do I....?

Who is online

Users browsing this forum: blackhornet, tarek2 and 26 guests