ObjectPosition
function

Description
Get the position of an object.

Arguments
Object A pointer to an object or a unit ID.

Returns
X The object's X coordinate.
Y The object's Y coordinate.
Z The object's Z coordinate.