Unknown

From DarkAI

AI GET ENTITY X

This command gets the current position of the entity. If the entity is linked to an object then it returns the current position of the object. If it is not linked to an object this returns the internal position of the entity and you should use this to position your representation of the entity.

Syntax
return float = AI Get Entity X ( Entity Number )

Parameters
Entity Number, The id of the entity you want to check.

Return
The X component of the entity's position.