Unknown

From DarkAI

AI GET ENTITY DESTINATION Z

This command returns the entity's final destination that it is currently heading towards. This does not include any paths the entity is taking to avoid obstacles which involve an intermediate destination to the path points.

Syntax
return float = AI Get Entity Destination Z ( Entity Number )

Parameters
Entity Number, The id of the entity for which you want to get the destination.

Return
The Z component of the entity's destination.