JumpIfTargetCloser
From Eternity Wiki
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.