Enemy Attack Further Away

yup. so you’ll want to check the distance vector and make sure the spawn point is x distance away, if not you can say move to a projected vector in the xy plane from the camera’s direction, but x distance away

so that’ll require a bit of trig to do but it is feasible since the player’s camera location is easilly accesed.

Get z rotation of the camera + define a distance float of your choice

add to the teleport location on x: cos(lookatangle)*distance float

add to the teleport location on y: sin(lookatangle)*distance float

reminder to make sure you have the right units of angle (radians vs degrees)