A_BossScream

From SRB2 Wiki
Jump to: navigation, search
Test.png This article or section is outdated and has not been updated to reflect the release of SRB2 v2.2.

Please help the Wiki by correcting or removing any misinformation, as well as adding any new information to the page.

ToDoIcon.png To do
Update for 2.2.0:
  • Var1 has a new option that can be combined with either of the old ones

A_BossScream is an action that spawns explosions (Object type of the explosions is set by Var2, default is MT_SONIC3KBOSSEXPLODE) 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