How to Make FNAF Similar mechanics?

I want to have teleport and jumpscare mechanics that are similar to FNAF but I do not know how to build the teleportation mechanics. I want to use a random integer blueprint with an if statement to create the movement chances, but I do not know how to control the actual movement in terms of teleportation.

The system ultimately depends on how you are wanting it to work/look, but you can manually Set Actor Location for the player to different locations, with/without interpolation. You’d just need to save FVector data on those specific locations to access when movement is called.

You could also have multiple camera components that you’d swap between, depending on which is selected, etc. Again, it heavily depends on exactly how you want the mechanics to work.

1 Like

I want it to be as simple as possible. The AI is spawned in the same location when the game starts, and then begins moving at random to designated points within the map, but with certain restrictions like not being able to move across more than two points towards the player.

There will be other mechanics like delaying by looking into the camera or temporarily knocking out the camera by looking at the enemy too long, but I only want to deal with one thing at a time and will figure that out later.