Distance

From FreeSpace Wiki
Revision as of 02:09, 25 April 2007 by Blackdragon (talk | contribs)
Jump to: navigation, search
Distance (Status operator)
        Returns the distance between two objects.  These objects can be either a ship, a wing, or a waypoint.
Returns a numeric value.  Takes 2 arguments...
        1:     The name of one of the objects.
        2:     The name of the other object.

Comments

Commonly used to determine if a ship is close enough to a node to warp out.