A_HomingChase

From SRB2 Wiki
Jump to navigation Jump to 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]
A_BubbleRiseA_BunnyHopA_CapeChaseA_ChaseA_FishJumpA_ForceStopA_HomingChaseA_InstaLoopA_KnockBackA_MouseThinkA_MoveAbsoluteA_MoveRelativeA_PushAwayA_ScoreRiseA_SkullAttackA_ThrustA_ZThrust