Dist

From EDukeWiki
Revision as of 07:46, 4 August 2010 by Helixhorned (talk | contribs) (Corrected Dist. Dist:xyz, Ldist:xy)
Jump to navigation Jump to search

dist <RETURNVAR> <SPRITE1> <SPRITE2>

Used to determine the distance between two sprites.

The RETURNVAR is equal to the distance between SPRITE1 and SPRITE2. Compare with Ldist, which uses only x and y coordinates. It is useful for locational damage, for example.