Ldist

From EDukeWiki
Revision as of 17:18, 2 March 2011 by Hendricks266 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ldist <gamevar> <sprite1> <sprite2>

Calculates the 2D distance between two sprites. Only x and y values are taken into account.

<gamevar> is set to the distance between <sprite1> and <sprite2>.

Compare with dist, which uses x, y, and z coordinates.