Help with top down stealth game.
spidercarp1
Member Posts: 3
How do I make my enemies constantly follow and face my player while they're alerted?
I have a system where when you are in the line of sight, your player spawns an actor called "chase" that the enemies move to. Getting on the LOS enables a game attribute called EnemyAlert which when enabled will make the enemy go to the chase actor.
https://drive.google.com/open?id=0B1EydTvjathYd2NOdW9SN0tiY3M
Comments
I should add that after an enemy stops after reaching the actor, he will never move, not even if I get the chase actor to spawn again.
After the enemy stops, does he start again if your character walks behind a wall?
I tried looking at your file, but didn't see that player character, only the enemies.
The player is a gray square, and he won't move again.
I'm going to redo the whole thing later, make the code less convoluted.