GetPositionFromLocation

From NWN Lexicon
Jump to: navigation, search



GetPositionFromLocation(location)

Returns the vector part of a location.

vector GetPositionFromLocation(
    location lLocation
);

Parameters

lLocation


Description

Returns the position vector of lLocation.



Remarks

Locations are made up of three types of variables:

-An object, identifying the area the location is in.
-A vector, identifying the (x, y, z) position coordinated within the area of the location.
-A floating point value, identifying the direction the location faces (as degrees).


Version

1.61

See Also

functions: 

SetFacingPoint



 author: Tom Cassiotis, editor: Lilac Soul