A_Boss1Laser

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_Boss1Laser is an action that is used by the Egg Mobile to run its laser attack. Var1 determines the type of Object to be fired as a laser; e.g.: the Egg Mobile fires MT_LASER. Var2 determines which side of the actor the laser is fired from: 0 fires from the left side, and 1 fires from the right side. All other Var2 values fire from the actor's center.

Unlike other actions, this action is hard-coded to repeatedly call itself every tic for the duration of the calling state, using the MF2_FIRING flag to determine whether the attack is currently in progress or not. Therefore, the duration of the state also determines the actual duration of the laser attack, in tics.

  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