Dist: Difference between revisions
Jump to navigation
Jump to search
Hunter byte (talk | contribs) mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
dist <RETURNVAR> <SPRITE1> <SPRITE2> | '''dist''' <RETURNVAR> <SPRITE1> <SPRITE2> | ||
Used to determine the distance between the bases of two actors' sprites. | Used to determine the distance between the bases of two actors' sprites. |
Revision as of 11:08, 4 May 2009
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.