From SRB2 Wiki
Jump to: navigation, search
Test.png This article or section is incomplete. It doesn't have all of the necessary core information on this topic. Please help the SRB2 Wiki by finishing this article.

A_GuardChase is an action which is a modified A_Chase for the Egg Guard. When the actor's tracer (in the Egg Guard's case, this is its shield) has been destroyed, the actor will go to its PainState, and MF_SPECIAL and MF_SHOOTABLE are added to the actor's flags to allow the actor to be destroyed as with regular enemies. If the actor's target doesn't exist or is dead, the actor will look for a new target player; if none can be found, it returns to its SpawnState.

Speed sets the distance in fracunits the actor will move to chase the target player each time the action is used. If the actor has MF_AMBUSH, it will move twice the distance each time. Each time this action is used, the actor's reaction time will be reduced by 1 until it reaches 0. If the actor's tracer is still present, the actor will also force its tracer to use its current state's action whenever this action is used.

Object property Use
SpawnState Goes back to this state if no players can be found
PainState Goes to this state when the shield has been destroyed
Speed Distance to move, measured in fracunits (if the actor has MF_AMBUSH, this value is doubled)

  Actions – Enemy thinkers [view]