GetPositionFromLocation
From NWNWiki
GetPositionFromLocation(location) returns the vector part of a location.
vector GetPositionFromLocation( location lLocation );
Contents |
[edit] Parameters
location lLocation
- The location from which to retrieve the position vector.
[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).
It can be obtained for a given object with the function GetLocation.
[edit] Version
1.61
[edit] See also
functions: GetAngleBetweenLocations | GetLocation | GetPosition | Location | LocationToString | SetFacingPoint
Converted from NWN Lexicon, original author: Tom Cassiotis, editor: Lilac Soul
