distance

From Bohemia Interactive Community
Revision as of 06:10, 16 April 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

obj1 distance obj2

Operand types:

obj1: Object

obj2: Object

Type of returned value:

Number

Description:

Compute distance between two objects.

Example:

_dist = player distance leader player