Dist

From EDukeWiki
Revision as of 21:07, 24 January 2007 by Usurper (talk | contribs) (New page: dist <RETURNVAR> <SPRITE1> <SPRITE2> Used to determine the distance between the bases of two actors' sprites. The RETURNVAR would be equal to the distance between the base of SPRITE1 and...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

dist <RETURNVAR> <SPRITE1> <SPRITE2>

Used to determine the distance between the bases of two actors' sprites.

The RETURNVAR would be equal to the distance between the base of SPRITE1 and the base of SPRITE2. It is useful for locational damage, for example.