Classes:RedAxe

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.
Blood-dripping axe
Actor type Explosive Game MiniHereticLogoIcon.png (Heretic)
DoomEd Number None Class Name RedAxe
Spawn ID 128 Identifier T_KNIGHTBLOODAXE


Classes: RedAxe
A spinning axe, dripping with blood, tossed by ghost warriors and sometimes, randomly, by undead warriors. Contrarily to the ethereal axe of the same undead warriors, the blood-dripping axe is not affected by wind, current, or any other type of "conveyor belt" sector.

DECORATE definition

ACTOR RedAxe : KnightAxe
{
  +NOBLOCKMAP
  -WINDTHRUST
  Damage 7

  action native A_DripBlood();

  States
  {
  Spawn:
    RAXE AB 5 Bright A_DripBlood
    Loop
  Death:
    RAXE CDE 6 Bright
    Stop
  }
}