|
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.
|
Blue mana cube
|
Actor type
|
SFX
|
Game
|
(Hexen)
|
DoomEd Number
|
None
|
Class Name
|
SorcBall2
|
Classes: SorcBall→SorcBall2
One of the three mana cubes that orbit the Heresiarch's head. This one is its source of power for its invulnerability shield.
ACTOR SorcBall2 : SorcBall native
{
States
{
Spawn:
SBMB ABCDEFGHIJKLMNOP 2 A_SorcBallOrbit
Loop
Pain:
SBMB A 5 A_SorcBallPop
SBMB 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
}
}