I’m working on a horror game and there’s a bit of an issue I’m getting when scripting my pre-alpha AI. Perhaps I haven’t worked long enough with blueprints, but I’m getting the feeling that onSeePawn and blackboard do not recognize when there is a float labeling the distance between the player and AI needed for it to chase after the player.
Is there a way to have the AI not able to see the player until, let’s say, 300 unreal cm?
This is the code I have so far… I know that the onSeePawn doesn’t have a location, but how would I go about detecting the location for the player vs. AI in that AIController?
Here is also a picture of the temp AI bot with his senses showing (notice, the distance for the onSeePawn is only 300 cm, yet, it detects me more than 10000 unreal cm away.