I have enemy AI following a patrol pattern via the Behavior Module. I'm trying to give him the ability to open closed doors that are blocking his path in the NavMesh. I have the idea to put a trigger box around the doors and use an "On Enter" kind of trigger, but I'm not sure how to reconcile this with the behavior module. Each door has a local "Is Open" bool. If "Is Open" is false, but the AI needs to go through it to reach its destination via the NavMesh, I want him to pause his Behavior, trigger an open door animation, and continue the Behavior where he left off. That way, when enemy AI is chasing the Player, they will not be deterred if the Player shuts a door in its face. I'm new to the Behavior Module and have absolutely no idea how to pull this off. Can anyone give any suggestions?
Customer support service by UserEcho