Classes:KneelingGuy

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.
Kneeling guy
Actor type Monster Game MiniStrifeLogoIcon.png (Strife)
DoomEd Number 204 Class Name KneelingGuy
Conversation ID 37 Puzzle Item ID N/A


Classes: KneelingGuy
This is actually the holographic projection of a minion. The device itself is small enough to be jumped over.

DECORATE definition

ACTOR KneelingGuy
{
  Health 51
  PainChance 255
  Radius 6
  Height 17
  Mass 50000
  +SOLID
  +SHOOTABLE
  +NOBLOOD
  +ISMONSTER
  +INCOMBAT
  PainSound "misc/static"
  DeathSound "misc/static"
  ActiveSound "misc/chant"
  States
  {
  Spawn:
  See:
    NEAL A 15 A_LoopActiveSound
    NEAL B 40 A_LoopActiveSound
    Loop
  Pain:
    NEAL C 5 A_SetShadow
    NEAL B 4 A_Pain
    NEAL C 5 A_ClearShadow
    Goto Spawn
  Wound:
    NEAL B 6
    NEAL C 13 A_GetHurt
    Loop
  Death:
    NEAL D 5
    NEAL E 5 A_Scream
    NEAL F 6
    NEAL G 5 A_NoBlocking
    NEAL H 5
    NEAL I 6
    NEAL J -1
    Stop
  }
}