Can Enemy NPCs follow player though teleports/doors?

0 favourites
  • 2 posts
From the Asset Store
Fantasy RPG Human-NPC assets pack of 15 characters
  • I have a tile map and I want my player to draw enemies who have line of sight to stop moving in their paths and follow him. If my player was to trigger a teleport object and then be sent to a different part of the layout, could the NPCs and enemies follow him through the door after hes already been repositioned across the tilemap? A bit like a foot chase.

    Also once out of sight with player after teleport, could the enemy AI return to their original paths via the teleport object, avoiding walls and boundaries?

    This is on one layout.


  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Kind of hard to picture this but I guess my approach would be to do when player teleports, have the enemies that are following find path to the teleporter rather than the player which has now moved. Then when they teleport and move position you can detect line of sight again.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)