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...
 
Jblade (talk | contribs)
mNo edit summary
Line 4: Line 4:


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.
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.
[[Category:EDuke32 specific commands]]

Revision as of 02:29, 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.