Unknown

From DarkAI

AI ENTITY GO TO POSITION

This command sets the entity's destination to the specified position, the entity will immediately calculate a path to the new destination and begin moving towards it. If the destination lies inside an obstacle an attempt will be made to choose the closest point which is not inside an obstacle. If this fails, or the path to the destination is blocked completely by obstacles the entity will not move.

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

This command will work in automatic mode by changing the entity state, but surrounding conditions (such as a visible target) can distract the entity from your specified destination.


Syntax
AI Entity Go To Position Entity Number, Position X#, Position Z#

Parameters
Entity Number, The id of the entity you want to move
Position X#, The X component of the position in world co-ordinates that you want the entity to move to.
Position Z#, The Z component of the position in world co-ordinates that you want the entity to move to.

Return
n/a