AI SET ENTITY COLLIDE
Use this command to notify the entity when it has collided with an object that is not in the AI system, for example from an external collision or physics system. The entity will move sideways for a brief period to try and avoid this object, during which time AI Get Entity Avoiding will return 1. Since the entity has no knowledge of the object's size it may not succeed in going around it in one move. You should detect when the entity has decided to stop avoiding and repeat the AI Set Entity Collide command if necessary.
This does not apply to objects set as obstacles or entities in the AI system, the entity will avoid these automatically.
Syntax:
Quote: "AI Set Entity Collide Entity Number, Collide Object"
Intel Core2Duo 2.2GHZ, 2GB, GeForce 8600M GT 1280MB, Windows Vista Ultimate SP2, PureBasic 4.61 + DarkGDK 2.0