A_BossScream

From SRB2 Wiki
Jump to: navigation, search

A_BossScream is an action that spawns explosions (Object type of the explosions is set by Var2, default is MT_BOSSEXPLODE) around the actor and plays its DeathSound. This action needs to be called over multiple states for many explosions to be spawned, it only spawns one explosion each time. If Var1 is set to 0, the angle each explosion is spawned at is spread evenly across multiple uses of the action, each explosion being separated by 64 degrees each time A_BossScream is used. If Var1 is set to 1, the explosions are instead positioned at a randomized angle around the actor. The explosions are always spawned away from the actor at a distance of its radius, but their vertical offsets can range from 8 fracunits below the bottom of the actor to ~56 fracunits above it, decided randomly.

Object property Use
DeathSound Explosion sound

  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