JumpIfTargetCloser: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Created page with "{{codepointer|description=Changes current frame if distance to target (enemy, or projectile’s shooter) is closer than a threshold distance. |usage='''A_JumpIfTargetCloser'''(state, distance) |parameters= *state: state to jump to *distance: distance in map units under which to make this decision}}")
 
(No difference)

Latest revision as of 09:52, 21 October 2024

Description

Changes current frame if distance to target (enemy, or projectile’s shooter) is closer than a threshold distance.

Usage

A_JumpIfTargetCloser(state, distance)

Parameters

  • state: state to jump to
  • distance: distance in map units under which to make this decision

Examples

No examples given.

Notes

No particular notes.

See also