Dist: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jblade (talk | contribs)
mNo edit summary
mNo edit summary
Line 6: Line 6:


[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]
[[Category:Sprite manipulation]]

Revision as of 13:02, 21 April 2008

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.