Distance

From FreeSpace Wiki
Revision as of 21:08, 24 April 2007 by Blackdragon (talk | contribs) (New page: 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 na...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.