I've already determined that the AI is infact colliding with the door. It makes a sound when that happens, and the sound always goes off at the proper time. However, AI Set Entity Collide isn't having any tangible effect at all.
if AI Get Entity Avoiding(actors(actor).obj) = 0 then AI Set Entity Collide actors(actor).obj, doors(i).obj
I've also tried it without the if like so:
AI Set Entity Collide actors(actor).obj, doors(i).obj
In both attempts, it's called immediately following the sound, so the command is getting run in at least the second one. But the AI is just going right through the doors. If only DarkAI had the ability to have temporary obstacles that the AIs cannot path through.
I'm doing this because I'm trying to add attack dogs to my game... And attack dogs shouldn't be able to open doors, so I want them to just stand at the door and bark instead.
(edit)
managed to solve the problem. The entities actually need to attempt to collide with the doors same as the player. Simply setting the collision in the AI doesn't make it not walk through the object.
Remember all that time in school that you complained that math is useless and you'll never need to know trig or calc? Guess what. If you're reading this, you need them.