A_GuardChase

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]
A_BuzzFlyA_CrawlaCommanderThinkA_DetonChaseA_EggShieldA_FaceStabChaseA_GuardChaseA_HoodThinkA_JetbThinkA_JetChaseA_JetgShootA_JetgThinkA_JetJawChompA_JetJawRoamA_MinusCheckA_MinusDiggingA_MinusPopupA_PointyThinkA_SharpChaseA_SharpSpinA_SkimChaseA_SnailerThinkA_VultureCheckA_VultureVtol