Classes:SorcBall3

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
  1. This actor is already defined in GZDoom, there's no reason to define it again.
  2. In fact, trying to define an actor with the same name will cause an error (because it already exists).
  3. If you want to make your own version of this actor, use inheritance.
  4. Definitions for existing actors are put on the wiki for reference purpose only.
Green mana cube
Actor type SFX Game MiniHexenLogoIcon.png (Hexen)
DoomEd Number None Class Name SorcBall3


Classes: SorcBallSorcBall3
One of the three mana cubes that orbit the Heresiarch's head. This one is its source of power for its dark bishop summoning spell.

DECORATE definition

ACTOR SorcBall3 : SorcBall native
{
  States
  {
  Spawn:
    SBMG ABCDEFGHIJKLMNOP 2 A_SorcBallOrbit
    Loop
  Pain:
    SBMG A 5 A_SorcBallPop
    SBMG B 2 A_BounceCheck
    Wait
  Death:
    SBS4 D 0 A_ChangeFlag("NOBOUNCESOUND", 1)
    SBS3 D 5 A_Explode(255, 255)
    SBS3 E 5
    SBS3 FGH 6
    Stop
  }
}