Classes:MummyFX1

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.
Screaming skull
Actor type Explosive Game MiniHereticLogoIcon.png (Heretic)
DoomEd Number None Class Name MummyFX1
Spawn ID 131 Identifier T_MUMMYHEAD


Classes: MummyFX1
The screaming, flying, flaming skulls launched by nitrogolems. They have a subtle homing ability. Contrarily to the flying, flaming skulls from Doom, they are merely projectiles.

DECORATE definition

ACTOR MummyFX1
{
  Radius 8
  Height 14
  Speed 9
  FastSpeed 18
  Damage 4
  RenderStyle Add
  Projectile
  -ACTIVATEPCROSS
  -ACTIVATEIMPACT
  +SEEKERMISSILE
  States
  {
  Spawn:
    FX15 A 5 Bright A_PlaySound("mummy/head")
    FX15 B 5 Bright A_SeekerMissile(10, 20)
    FX15 C 5 Bright
    FX15 B 5 Bright A_SeekerMissile(10, 20)
    Loop
  Death:
    FX15 DEFG 5 Bright
    Stop
  }
}