Ldist

From EDukeWiki
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.

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.