Gaming
 

GetPosition

From NWNWiki

GetPosition(object) returns the position, as vector, of an object.

vector GetPosition(
    object oObject
);

Contents

[edit] Parameters

object oObject

The object to return the position of.

[edit] Description

Returns as vector the position of the object passed. If the object is invalid, or on any other errors, a vector Vector(0.0f, 0.0f, 0.0f) is returned.

[edit] Version

1.61

[edit] See also

Functions: GetPositionFromLocation Location

Based on the article by author Tom Cassiotis in The NWN Lexicon