Classes:CommanderKeen
		
		
		
		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: 
 | 
| Commander Keen | |||
|---|---|---|---|
| Actor type | Monster | Game |  (Doom2) | 
| DoomEd Number | 72 | Class Name | CommanderKeen | 
Classes: CommanderKeen
A character from the Commander Keen series, he just hangs from the ceiling and doesn't do anything. When all Keens present on a level are killed, any door tagged 666 is opened.
DECORATE definition
ACTOR CommanderKeen
{
  Health 100
  Radius 16
  Height 72
  Mass 10000000
  PainChance 256
  +SOLID
  +SPAWNCEILING
  +NOGRAVITY
  +SHOOTABLE
  +COUNTKILL
  +NOICEDEATH
  +ISMONSTER
  PainSound "keen/pain"
  DeathSound "keen/death"
  States
  {
  Spawn:
    KEEN A -1
    Loop
  Death:
    KEEN AB 6
    KEEN C 6 A_Scream
    KEEN DEFGH	6
    KEEN I 6
    KEEN J 6
    KEEN K 6 A_KeenDie
    KEEN L -1
    Stop
  Pain:
    KEEN M 4
    KEEN M 8 A_Pain
    Goto Spawn
  }
}