Classes:Unknown

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's actually harmful as it can 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.
  5. There is only one exception: if what you want is changing Ammo capacity, you need to create a new type from Ammo.
Error marker
Actor type Internal Game MiniZDoomLogoIcon.png (ZDoom)
DoomEd Number None Class Name Unknown


Classes: Unknown
 →SpeakerIcon

This actor class is as an exclamation mark that replaces any problematic objects in a map. An actor is replaced if it is:

  • a map thing that specifies a DoomEd Number that does not match any existing actor
  • an actor whose sprite for the first “Spawn” frame is missing
  • a RandomSpawner that went into too many recursions and might be stuck in an infinite loop

In such an event of replacement an error message is logged into the console to help diagnose the cause of the problem. This actor is always guaranteed to be defined and must be defined for ZDoom to function properly.

DECORATE definition

ACTOR Unknown
{
  Radius 32
  Height 56
  +NOGRAVITY
  +NOBLOCKMAP
  +DONTSPLASH
  States
  {
  Spawn:
    UNKN A -1
    Stop
  }
}