GetDistanceBetweenLocations
From Dragon Age Toolset Wiki
Returns the distance between two locations.
- Parameters:
- lLocationA
- The first location
- lLocationB
- The second location
- Returns:
- Returns the distance between the two locations. Returns -1.0f on error.
- Source:
- script.ldf
Description
Returns the distance between location lLocationA and location lLocationB Distance is measured through three dimmensional space and not just along the xy plane, so the hieght component of each object's location is relevant.