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: GetAngleBetweenLocations | GetLocation | GetPosition | Location | LocationToString | SetFacingPoint
categories: Miscellaneous Functions


 author: Tom Cassiotis, editor: Lilac Soul