A_EggShield

From SRB2 Wiki
Jump to: navigation, search

A_EggShield is an action that is used as the thinker for the Egg Guard's shield. For each use of the action, the actor will re-position itself so that it will be placed a fracunit in front of its target, and the actor's gravity and scale settings will be adjusted accordingly with the settings for the actor's target. This action should be called every tic for the actor to continuously follow its target in this manner. If the actor's target does not exist or has no health, the actor will remove itself from existence.

The actor will also push all players touching it at the front away from it, thrusting them at the change in XY-position the actor moved during the use of this action. This feature does not affect players who are currently spectators.

  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