Dist: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m 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...
(No difference)

Revision as of 22:07, 24 January 2007

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.