How do I fix this follow mechanic problem?

Get help using Construct 2

Post » Thu Sep 17, 2015 9:50 pm

I'm trying to create a follow mechanic in which I've gotten the NPC companion (in my case it's going to be a wolf) to successfully follow my player, but they stop right in the middle of the player sprite and then wobble around. Here's the capx file - drive.google.com/file/d/0B9lZS2FUhbrQSzZydHRhSTNQUEE/view?usp=sharing (just copy and paste and it should open up fine, hopefully!)

I want it like how following someone would normally go; you're a little distance behind them, not right on top of them. I'm not sure how to fix it since I'm still pretty new with construct. u_u I used another forum example that was a similar follow-mechanic question as guidance for it, but I'm not sure what I did wrong in the event system to make it not do what the example did. I appreciate any help/advice given! It's probably an easy fix but I'm hopeless haha
B
5
S
1
G
1
Posts: 7
Reputation: 364

Post » Thu Sep 17, 2015 10:48 pm

Use compare distance with variables

https://www.scirra.com/tutorials/1320/p ... enemies-ai
B
9
S
3
Posts: 142
Reputation: 1,108


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, ksiads, R0J0hound, RozekEnhance and 5 guests