NPC follows player

Get help using Construct 2

Post » Sun Jun 16, 2013 5:00 pm


I'm making a demo for my game. I don't have much experience in contstruct 2 so I need a little help.
I have 2 characters, one is the player, and one is an npc that follows the player everywhere. He has physical problems so he gets scared from time to time. When he gets scared he stops running behind my player.
So basically he just stands still.

I have absolutely no idea how to make this happen in construct. Can anyone help me?

Thanks a lot! (and sorry for my bad English (: )
Posts: 2
Reputation: 179

Post » Sun Jun 16, 2013 5:21 pm

Set him as a turret maybe?
(this example was for zombies turning toward you when you got in range)

You may also check Pathfinding and the new Line of Sight behavior, but I haven't played with that yet.
Posts: 907
Reputation: 41,611

Post » Sun Jun 16, 2013 6:04 pm

Thanks for helping!
It works but there is a little problem, when I set him as a turret and let him follow the player, he follows it, but he rotates all the time..

Do you know how I can fix that?
(my game is a 2D sidescroller)
Posts: 2
Reputation: 179

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests