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