A_Boss1Chase

From SRB2 Wiki
Jump to navigation Jump to search
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_Boss1Chase is an action that is used as the Egg Mobile's main thinker. The actor will try to chase the target player, similarly to A_Chase, but may also adjust the actor's height if MF_FLOAT is set.

Each time this action is used, the actor's reaction time will be reduced by one. When the reaction time reaches 0, the actor will choose an attack depending on its current health, execute it and set its reaction time to the value of ReactionTime, restarting the process.

When the actor is ready to attack, it will randomly pick either MeleeState or MissileState to run its attack. However, once the actor's health drops to the value of Damage or lower, it will instead use the RaiseState for the "pinch phase" attack.

Object property Use
SpawnState Returns to this state if target isn't shootable or doesn't exist
MeleeState Actor randomly picks either this or MissileState for an attack when ready (except if health is at Damage or lower)
MissileState Actor randomly picks either this or MeleeState for an attack when ready (except if health is at Damage or lower)
RaiseState Actor's "pinch phase" attack; only used if health is at Damage or lower
ReactionTime Value to restore actor's reaction time to after using an attack
Speed Speed
Damage Health point to switch to "pinch phase" mode at

  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