GetDistanceBetweenLocations(location, location)
The distance in meters between two locations in the game.
float GetDistanceBetweenLocations( location lLocationA, location lLocationB );
Parameters
lLocationA
A location variable.
lLocationB
A location variable.
Description
Returns the distance in meters between two locations, or -1.0000 if the locations are in two different areas.
Version
1.26
See Also
functions: | GetAngleBetweenLocations | GetDistanceBetween | GetDistanceToObject |
categories: | Core AI Functions | Math Functions | Movement Functions | Targeting Functions |
author: John Shuell, editor: Charles Feduke, additional contributor(s): Marcus Lunzenauer
Send comments on this topic.