|
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.
|
Cacolantern
|
Actor type
|
Monster
|
Game
|
(Skulltag)
|
DoomEd Number
|
5006
|
Class Name
|
Cacolantern
|
Spawn ID
|
159
|
Identifier
|
T_CACOLANTERN
|
|
Warning: This class is a Skulltag-specific actor that is not included in ZDoom!
|
Classes: Cacodemon→Cacolantern
→Abaddon
An orange Cacodemon, stronger than its red cousin. Their pumpkin color is the source of their nickname.
ACTOR Cacolantern : Cacodemon 5006
{
SpawnID 159
Health 800
Obituary "$OB_CACOLANTERN" // "%o was smitten by a cacolantern."
HitObituary "$OB_CACOLANTERN_MELEE" // "%o got too close to a cacolantern."
States
{
Spawn:
HED2 A 10 A_Look
Loop
See:
HED2 A 3 A_Chase
Loop
Pain:
HED2 E 3
HED2 E 3 A_Pain
HED2 F 6
Goto See
Missile:
HED2 BC 5 A_FaceTarget
HED2 D 5 Bright A_BasicAttack (8, "None", "CacolanternBall", 32)
Goto See
Death:
HED2 G 8 A_NoBlocking
HED2 H 8 A_Scream
HED2 IJK 8
HED2 L -1 A_SetFloorClip
Stop
Raise:
HED2 L 8 A_UnsetFloorClip
HED2 KJIHG 8
Goto See
}
}