Unknown

From DarkAI

AI ENTITY MOVE CLOSE

This command moves the entity close to a specified point. The entity picks a random point that is at most Max Distance from the position and moves to it. If many obstacles surround the specified point the chosen point maybe on the opposite side of an obstacle, the entity will attempt to choose a point that is not inside an obstacle. Where it fails to do this (due to many overlapping obstacles) the entity will not move.

This is a manual mode command (see AI Set Entity Control)

Syntax
AI Entity Move Close Entity Number, Position X#, Position Z#, Max Distance#

Parameters
Entity Number, The id of the entity you want to move.
Position X#, The X component of the position you want the entity to move towards.
Position Z#, The Z component of the position you want the entity to move towards.
Max Distance#, The maximum distance the entity will be from the specified position after moving.

Return
n/a