Classes:ZBell

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
  1. You do NOT need to copy that actor, since it is already defined.
  2. In fact, it's not just useless, it will cause problems.
  3. If you want to modify it, or use a modified version, using inheritance is the way to go.
  4. The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
ZBell
Actor type Decoration Game MiniHexenLogoIcon.png (Hexen)
DoomEd Number 8065 Class Name ZBell


Classes: ZBell
This actor needs a description.

DECORATE definition

ACTOR ZBell native
{
  Health 5
  Radius 56
  Height 120
  Mass 0x7fffffff
  +SOLID
  +SHOOTABLE
  +NOBLOOD
  +NOGRAVITY
  +SPAWNCEILING
  +NOICEDEATH
  DeathSound "BellRing"

  action native A_BellReset1();
  action native A_BellReset2();

  States
  {
  Spawn:
    BBLL F -1
    Stop
  Death:
    BBLL A 4 A_BellReset1
    BBLL BC 4
    BBLL D 5 A_Scream
    BBLL CB 4
    BBLL A 3
    BBLL E 4
    BBLL F 5
    BBLL G 6 A_Scream
    BBLL F 5
    BBLL EA 4
    BBLL BC 5
    BBLL D 6 A_Scream
    BBLL CB 5
    BBLL A 4
    BBLL EF 5
    BBLL G 7 A_Scream
    BBLL FEA 5
    BBLL B 6
    BBLL C 6
    BBLL D 7 A_Scream
    BBLL CB 6
    BBLL A 5
    BBLL EF 6
    BBLL G 7 A_Scream
    BBLL FEABC 6
    BBLL B 7
    BBLL A 8
    BBLL E 12
    BBLL A 10
    BBLL B 12
    BBLL A 12
    BBLL E 14
    BBLL A 1 A_BellReset2
    Goto Spawn
  }
}