AproxDistance

From Eternity Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Parameter Information

  • Args1 = Destination counter number (from 0 to 7; default of 0 = 0)

Returns an approximate distance measurement between the object and its current target in the indicated counter. If the object does not have a valid target, the value returned is -1. Combined with CounterJump, this can be used to branch to different attacks depending on a monster's distance to its target.

See also