I think the title says it all, but I am creating a game where there is rooms, with tele's on each end (Can only move left/right). When you grab agro from the enemy's, but then exit through a tele, all of the enemy's that were agro'd are now waiting on the tele for you to come back through.

I am trying to get them to either go back to where they spawn, but i don't believe they save their spawn point anywhere, or randomly move to somewhere in the middle of the map after losing agro.

2 comments

0

Save the spawn-point of them, then when the distance of the player is over 50 studs make them lose agro

0

But is there a way to do this without having to go through each NPC