I know exactly what you're talking about. If you're using a "chase" script, then the enemy opens doors, even if it's not going through them. This is because the script must tell a nearby door to open, so the enemy doesn't run into it. A simple solution would be to make the corridor wider, and make the waypoint lead through the very center. Another way to get around this would be to use key or remote doors instead of normal (use) doors. This will prevent the door from opening when the enemy passes by, but still open when the player enters a trigger zone, flips a switch or uses a key. I'm sure there are ways of editing the main AI script of the enemy to stop it from opening the doors, but i'm still a beginner at the scripting language, so it would be better if somone else helped you with that. Also,
IF the waypoint goes through a door you
DO want the enemy to open, you still want it to be able to open that specific one. So i would try the alternatives first before going about removing the command to open nearby doors.
Cheers, Jake
------------------------------------------------------------
-The Clarkson Residence- (WIP)