Classes:Oracle

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.
The Oracle
Actor type Monster Game MiniStrifeLogoIcon.png (Strife)
DoomEd Number 199 Class Name Oracle
Conversation ID 65, 62, 63 Puzzle Item ID N/A


Classes: Oracle
The Oracle is a character from Strife. He doesn't attack or move and has minimal health. He plays an important role in the game nonetheless. You can either trust him over Macil or do the opposite; the first option showing you the not-so-good ending when you complete the game, the latter showing the best ending. After the Oracle is killed, his Spectre (which has been floating in the ceiling) will awake and teleport to fight you.

DECORATE definition

ACTOR Oracle
{
  Health 1
  Radius 15
  Height 56
  Monster
  +NOTDMATCH
  +NOBLOOD
  +NEVERRESPAWN
  DamageFactor "Fire", 0.5
  DamageFactor "SpectralLow", 0
  MaxDropoffHeight 32
  Tag "$TAG_ORACLE" // "Oracle"
  DropItem "Meat"

  action native A_WakeOracleSpectre();

  States
  {
  Spawn:
    ORCL A -1
    Stop
  Death:
    ORCL BCDEFGHIJK 5
    ORCL L 5 A_NoBlocking
    ORCL M 5
    ORCL N 5 A_WakeOracleSpectre
    ORCL OP 5
    ORCL Q -1
    Stop
  }
}