From SRB2 Wiki
Jump to: navigation, search

A_HomingChase is an action that makes the actor move directly towards its target/tracer Object in all directions, in a similar fashion to how rings follow players equipped with an Attraction Shield. This action should be called every tic for the chasing behavior to function properly. Var1 determines the movement speed (should be a multiple of FRACUNIT), and Var2 determines the Object to chase (0 = target, 1 = tracer). The actor's angle is adjusted to face the Object it is chasing. If the Object to chase does not exist or has no health, this action will do nothing.

  Actions – Movement [view]