[code] Alternate raise states

Post your example zscripts/ACS scripts/etc here.

[code] Alternate raise states

Postby Ichor » Sat Jan 16, 2010 11:23 am

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
The fun cannot be halted
Joined: 24 Jul 2003

Re: [code] Alternate raise states

Postby ShadesMaster » Sat Jan 23, 2010 9:30 am

Hmmm... interesting! The potential is endless!
User avatar
Joined: 12 Jun 2008

Return to Script Library

Who is online

Users browsing this forum: No registered users and 0 guests