GetPositionFromLocation

From NWN Lexicon



Contents

[edit] GetPositionFromLocation(location)

Returns the vector part of a location.

vector GetPositionFromLocation(
    location lLocation
);

[edit] Parameters

lLocation


[edit] Description

Returns the position vector of lLocation.



[edit] 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).


[edit] Version

1.61

[edit] See Also

functions: 

SetFacingPoint



 author: Tom Cassiotis, editor: Lilac Soul
 

Personal tools
Categories