Ldist

From EDukeWiki
Revision as of 17:17, 2 March 2011 by Hendricks266 (talk | contribs)
Jump to navigation Jump to search

ldist <gamevar> <sprite1> <sprite2>

Calculates the 2D distance between two sprites, that is 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.