|
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
- This actor is already defined in GZDoom, there's no reason to define it again.
- In fact, trying to define an actor with the same name will cause an error (because it already exists).
- If you want to make your own version of this actor, use inheritance.
- Definitions for existing actors are put on the wiki for reference purpose only.
|
Classes: Mummy
→MummyGhost
→MummyLeader
→MummyLeaderGhost
Golems are very common enemies in Heretic. At close range they smash the player with their fists and are dangerous in packs. Golems don't have much health.
ACTOR Mummy
{
Health 80
Radius 22
Height 62
Mass 75
Speed 12
PainChance 128
Monster
+FLOORCLIP
SeeSound "mummy/sight"
AttackSound "mummy/attack1"
PainSound "mummy/pain"
DeathSound "mummy/death"
ActiveSound "mummy/active"
HitObituary "$OB_MUMMY"
DropItem "GoldWandAmmo", 84, 3
States
{
Spawn:
MUMM AB 10 A_Look
Loop
See:
MUMM ABCD 4 A_Chase
Loop
Melee:
MUMM E 6 A_FaceTarget
MUMM F 6 A_CustomMeleeAttack(random[MummyAttack](1,8)*2, "mummy/attack2", "mummy/attack")
MUMM G 6
Goto See
Pain:
MUMM H 4
MUMM H 4 A_Pain
Goto See
Death:
MUMM I 5
MUMM J 5 A_Scream
MUMM K 5 A_SpawnItemEx("MummySoul", 0, 0, 10, 0, 0, 1)
MUMM L 5
MUMM M 5 A_NoBlocking
MUMM NO 5
MUMM P -1
Stop
}
}