ID:1597327
 
(See the best response by Ter13.)
AI mobs in my game work perfectly fine, unless placed on a tile that has an area of luminosity=0. The issues seem bizarre and don't always happen. Sometimes their AI will cancel out at random during procedures. Sometimes the sounds don't activate. Sometimes specific objects don't appear. Also, I tried using the AI's procedures on myself. The odd things did occur, yet I didn't receive any runtime errors. Why does this happen?
Best response
More than likely it's because whoever wrote the AI didn't grasp the differences between view(), range(), viewers(), hearers(), etc.

If they have moved into a dark area, odds are, you have if/for statements that operate on view() (which in this case, will tend to be null.)

A quick fix, would be to allow the mob to see in the dark using the see_in_dark variable. However, the fact that this is a problem at all kind of shows that you have major design issues rumbling around in your codebase.
I suspected view() may have been the issue. I never knew about range(), and you were right. I changed all the view() instructions to range() and now they work perfectly.

Also, yes, I understand that by this novice mistake, it would seem like I have a lot more to learn with Dream Maker. I've only ever learned what I've needed to learn in order to progress with my projects. Thank you for the help, I'll try to keep all my amateur problems off the forum.