|
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
- This actor is already defined in GZDoom, there's no reason to define it again.
- In fact, trying to define an actor with the same name will cause an error (because it already exists).
- If you want to make your own version of this actor, use inheritance.
- Definitions for existing actors are put on the wiki for reference purpose only.
|
Purple mana cube
|
Actor type
|
SFX
|
Game
|
(Hexen)
|
DoomEd Number
|
None
|
Class Name
|
SorcBall1
|
Classes: SorcBall→SorcBall1
One of the three mana cubes that orbit the Heresiarch's head. This one is its source of power for its projectile attacks.
ACTOR SorcBall1 : SorcBall native
{
States
{
Spawn:
SBMP ABCDEFGHIJKLMNOP 2 A_SorcBallOrbit
Loop
Pain:
SBMP A 5 A_SorcBallPop
SBMP B 2 A_BounceCheck
Wait
Death:
SBS4 D 0 A_ChangeFlag("NOBOUNCESOUND", 1)
SBS4 D 5 A_Explode(255, 255)
SBS4 E 5
SBS4 FGH 6
Stop
}
}