distance

From Bohemia Interactive Community
Revision as of 12:07, 16 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

back to COMREF

obj1 distance obj2


Operand types:

obj1: Object

obj2: Object

Type of returned value:

Number

Description:

Compute distance between the two objects.


Example:

_dist = player distance leader player