GetPosition(object)

Determines the position of a creature or object.

vector GetPosition(
    object oTarget
);

Parameters

oTarget


Description

Returns the position (as a vector) of oTarget.

If oTarget is invalid or on other errors this function returns the vector (0.0f, 0.0f, 0.0f).



Version

1.22

See Also

functions: Location | SetFacingPoint
categories: Get Data from Object Functions


 author: Tom Cassiotis
 Send comments on this topic.