Classes:ZBell

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.
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
  }
}