Ldist: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
m correction: arguments need not be actors
Line 1: Line 1:
'''ldist''' <variable to return distance value to> <actor 1> <actor 2>
'''ldist''' <''distance''> <sprite1> <sprite2>


Calculates the 2D distance between two actors.
Calculates the 2D distance between two sprites, that is only x and y values are taken into account.


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

Revision as of 06:48, 4 August 2010

ldist <distance> <sprite1> <sprite2>

Calculates the 2D distance between two sprites, that is only x and y values are taken into account.