Teleportation on Event Tick destroys the actor

I’m very new to the engine, so as a way to learn I decided to make a clone of Slender. I’ve set the AI On Event Tick to check if the enemy is withing a certain distance from the player, and if it isn’t, I run an EQS query that determines the best location to teleport to. Everything works fine up to this moment, I print the coordinates to the screen and they look legit, but the moment I hook it up to a Teleport Node or Set World Location node the enemy literally gets destroyed and his coordinates are set to this


My best guess is my understanding of how this all works is just flawed, but I’d really appreciate if someone were to tell me why my logic is wrong

Hello deep space teleport :innocent:, Print the AI Location, Print the player Location before this print, I’m sure they are not that big of a number a number that does not exists in any maps I have ever seen.

yeah the coordinates of everything are normal, it’s just that these were for whatever reason set when executing something. I think I just understood behavior trees wrong and thought they only execute once when in fact they kinda loop around. While I still don’t quite know why the actor was getting destroyed I don’t think I’ll need that knowledge anymore, because I think I got the basics of AI right this time

1 Like