Unknown

From DarkAI

AI GET ENTITY AVOIDING

This command returns if the entity is involved in an avoiding movement around some unexpected object from the AI Set Entity Collide command. Once this command returns 0 then the entity will assume it has avoided the object and attempt to continue on its normal path. This command will not notify when an entity avoids an expected object such as an obstacle or other entity.

Syntax
return integer = AI Get Entity Avoiding ( Entity Number )

Parameters
Entity Number, The id of the entity you want to know is avoiding.

Return
1 if the entity is avoiding something, 0 if not.