Distance-to-center

From FreeSpace Wiki
Revision as of 17:35, 17 March 2021 by TopAce (talk | contribs) (Created page with " Distance-To-Center (Status operator) Returns the distance between the centers of two objects. These can be ships, wings, or waypoints. When a wing or team is given (for e...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Distance-To-Center (Status operator)
	Returns the distance between the centers of two objects.  These can be ships, wings, or waypoints.
When a wing or team is given (for either argument), the result will be the closest distance.

Returns a numeric value.  Takes 2 arguments...
	1:	The name of one of the objects.
	2:	The name of the other object.

Comments

  • Replaces distance in FreeSpace Open. The two SEXPs are identical in function.