Classes:CStaffMissile

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.
Serpent staff projectile
Actor type Explosive Game MiniHexenLogoIcon.png (Hexen)
DoomEd Number None Class Name CStaffMissile


Classes: CStaffMissile

The projectile fired by the Serpent Staff. The native engine code makes this actor and any actor inheriting from this cause poison damage.

DECORATE definition

ACTOR CStaffMissile native
{
  Speed 22
  Radius 12
  Height 10
  Damage 5
  RenderStyle Add
  Projectile
  DeathSound "ClericCStaffExplode"
  Obituary "$OB_MPCWEAPSTAFFR"
  States
  {
  Spawn:
    CSSF DDEE 1 Bright A_CStaffMissileSlither
    Loop
  Death:
    CSSF FG 4 Bright
    CSSF HI 3 Bright
    Stop
  }
}