AproxDistance

From Eternity Wiki
Revision as of 09:08, 15 September 2009 by Printz (talk | contribs) (New page: ====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 tar...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.