AI breaks my hiding system?

If AI is near the player when they go to hide, they can’t seem to unhide. I can’t work out as to why this would be happening. The hiding system is made by moving the character from where they’re standing to the new hiding position. They press E to hide or unhide. The AI has no input actions so I can’t workout why this would be affecting them. The AI will chase and try to attack the player if to close.

It seems to be if the AI overlaps with the trigger box as well, then I can’t unhide. I’ve tried blocking the AI from being able to enter the trigger box but it didn’t seem to change anything

Did you make an event for when it ends overlap with the trigger box? That way, you can write a new script to reset the found and not found stuff in your ai. I am personally curious to know how your AI works, though, because I just started with AI a day ago.

And yes, I am aware this post is from four years ago, heheh

It’s not from 4 years ago haha… it was made on 11-17-2020, I joined 4 years ago! I figured it out though. So in the blueprints of my door, instead of having it so any pawn that overlapped with the interaction box, I used a GetClass connect to the Other Actor node in the On Begin Overlap event, and used a == node from the GetClass, and selected my characters blueprint from there. It fixed it :slight_smile: