JumpIfTargetCloser

From Eternity Wiki
Revision as of 08:52, 21 October 2024 by 213.233.110.6 (talk) (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}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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