Classes:LostOfficer

From ECWolf Wiki
Revision as of 22:25, 22 January 2013 by Blzut3 (talk | contribs) (Created page with "{{Actor| | type = Monster | game = Spear | name = Lost Officer | class = LostOfficer | doomednum = 97 }}Classes: {{Class|Actor}} → {{Class|WolfensteinMonster}} →...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.
Lost Officer
Actor type Monster Game MiniSpearLogoIcon.png
DoomEd Number 97 Class Name LostOfficer


Classes: ActorWolfensteinMonsterOfficerLostOfficer

Overview

Alternate officer used in the Spear of Destiny mission packs. Very similar in appearance and behaves identically.

DECORATE Definition

actor LostOfficer : Officer 97
{
  DropItem "BlueClip"
  AttackSound "lostofficer/attack"
  DeathSound "lostofficer/death"
  SecretDeathSound "lostofficer/crash"
  SeeSound "lostofficer/sight"
  states
  {
    Spawn:
      LOFF A -1 NOP A_Look
      stop
    Path:
      LOFF B 10 NOP A_Chase
      LOFF B 2.5
      LOFF C 7.5 NOP A_Chase
      LOFF D 10 NOP A_Chase
      LOFF D 2.5
      LOFF E 7.5 NOP A_Chase
      loop
    Pain:
      LOFF I 5 A_JumpIf(health & 1, 1)
      goto See
      LOFF J 5
      goto See
    Missile:
      LOFF F 3 A_FaceTarget
      LOFF G 10 A_FaceTarget
      LOFF H 5 bright A_WolfAttack
      goto See
    See:
      LOFF B 5 NOP A_Chase
      LOFF B 1.5
      LOFF C 4 NOP A_Chase
      LOFF D 5 NOP A_Chase
      LOFF D 1.5
      LOFF E 4 NOP A_Chase
      loop
    Death:
      LOFF K 5.5 A_Fall
      LOFF L 5.5 A_Scream
      LOFF MN 5.5
      LOFF O -1
      stop
  }
}