AproxDistance: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(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...)
 
No edit summary
 
Line 3: Line 3:


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.
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==
*[[List of codepointers]]


[[Category:codepointers]]
[[Category:codepointers]]

Latest revision as of 09:14, 15 September 2009

Parameter Information[edit]

  • 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[edit]