#How do I make an enemy chase you in 4.x
1 messages · Page 1 of 1 (latest)
- create an motion style for your enemy chase the main character at the start of the game(smiple to create)
- make for when the main character collide with the enemy collision detector, the enemy chase the main character
This is the script I use for my game so you might need change a few things like the if then or the sound effect when the player get caught
Oh alright Thanks!
Wait
Do you also know how to make it
If an enemy is chasing and if you get out of it "vision" (Collision detection)
It will stop chasing and walk randomly
I don’t really know how make it but I think you can try to make an child object that have the collision detector and make when the player collide, the angle of the collision detector gonna follow the player to avoid bug
Sorry for late response but
Like if the child object hits the player via collision detector
How do I connect it to the main enemy so when it hits it follows the player
And is there a way to extend the collision detection range? When the player is hit?
I think is
Parent object follow collider