[code] Alternate raise states

Post your example zscripts/ACS scripts/etc here.
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.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
Post Reply
User avatar
Ichor
Posts: 1783
Joined: Wed Jul 23, 2003 9:22 pm

[code] Alternate raise states

Post by Ichor »

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...
Spoiler: Reviver
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.
Spoiler: Revived
The DeadThing inventory is to make sure the monster will not do the new thing if that damagetype hits the monster and it isn't being revived.
User avatar
ShadesMaster
Posts: 657
Joined: Thu Jun 12, 2008 2:05 am

Re: [code] Alternate raise states

Post by ShadesMaster »

Hmmm... interesting! The potential is endless!
Post Reply

Return to “Script Library”