A_Boss2TakeDamage

From SRB2 Wiki
Jump to navigation Jump to search
Note
This action is designed only for Objects of type MT_EGGMOBILE2 (Egg Slimer), and will not have the same effect for other types of Objects.

A_Boss2TakeDamage is an action that is used by the Egg Slimer whenever it is damaged by the player. The actor changes its reaction time and movecount values, which the Egg Slimer uses to change direction (if not in pinch phase) and become temporarily invincible, respectively. Var1 determines the duration in tics the actor remains invincible; if set to 0, this defaults to a value of TICRATE (or a full second). A_Pain is also called by this action to play the actor's PainSound.

  Actions – Boss thinkers [view]
A_Boss1ChaseA_Boss1LaserA_Boss1SpikeballsA_Boss2ChaseA_Boss2PogoA_Boss2PogoSFXA_Boss2PogoTargetA_Boss2TakeDamageA_Boss3PathA_Boss3TakeDamageA_Boss4RaiseA_Boss4ReverseA_Boss4SpeedUpA_Boss7ChaseA_Boss7FireMissilesA_BossDeathA_BossFireShotA_BossJetFumeA_BossScreamA_BossZoomA_BrakChaseA_BrakFireShotA_BrakLobShotA_FocusTarget