A JumpIfCloser

From ECWolf Wiki

A_JumpIfCloser (float distance, state frame)

Jumps to the specified state if the calling actor's target is closer than the specified distance in units (pixels).