Difference between revisions of "GetDistanceBetweenLocations"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(looks okay, removing tag)
 
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=GetDistanceBetweenLocations
 
|name=GetDistanceBetweenLocations
Line 17: Line 16:
 
== Description ==
 
== Description ==
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
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
+
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.
is relevant.
+
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->

Latest revision as of 17:31, 1 March 2010

Returns the distance between two locations.

float GetDistanceBetweenLocations(
location lLocationA,
location lLocationB
);
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.


See also

GetDistanceBetween