GameSalad

Help with top down stealth game.

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

  • spidercarp1spidercarp1 Posts: 3Member

    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.

  • pHghostpHghost London, UKPosts: 1,890Member

    After the enemy stops, does he start again if your character walks behind a wall?

  • pHghostpHghost London, UKPosts: 1,890Member

    I tried looking at your file, but didn't see that player character, only the enemies.

  • spidercarp1spidercarp1 Posts: 3Member

    @pHghost said:
    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.

Sign In or Register to comment.