Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.
Let's say you want a monster to be able to revive other monsters. We all know how to do that. However, suppose you want another monster in your project to do something else to a corpse besides raise it up (for instance, devour the corpse). Well, I have just discovered a way to do this, although it's not quite perfect. I was going to use it myself for corpse explosion, but it was too much trouble, and it won't work if something is standing on the corpse, even a tiny bit. This seriously limits its effectiveness. Still, I think this could be useful. Anyway...
ACTOR Vilefake2
{
PROJECTILE
+FRIENDLY
+NOCLIP
+DONTSPLASH
+FORCERADIUSDMG
+FORCEPAIN
+RIPPER
+BLOODLESSIMPACT
Radius 80
Height 5
Speed 40
RENDERSTYLE NONE
DamageType "Whatever"
States
{
Spawn:
TNT1 A 0
TNT1 AAAAAAAA 6 A_VileChase
Stop
Death:
TNT1 A 1
Stop
Heal:
TNT1 A 2
TNT1 A 0 A_Explode(1,128,0,0,1)
Stop
}
}
This revives the monster, then almost immediately explodes with a custom damagetype. This is to force the revived monster into a different state instead of just reviving it. In this case here, it's just a projectile, but it should work with normal monsters.