Classes:StrifeZap1

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.
Strife zap
Actor type Internal Game MiniStrifeLogoIcon.png (Strife)
DoomEd Number None Class Name StrifeZap1


Classes: StrifeZap1
 →ElectricBolt
Base class for Strife's electric bolt. Why it needs a base class for just one class is beyond me.

DECORATE definition

ACTOR StrifeZap1
{
  +NOBLOCKMAP
  +NOGRAVITY
  +DROPOFF
  States
  {
  Spawn:
  Death:
    ZAP1 A 3 A_AlertMonsters
    ZAP1 BCDEFE 3
    ZAP1 DCB 2
    ZAP1 A 1
    Stop
  }
}