A set of death scripts, easily implented into a module.
-OnDying-
When a PC's HP reaches 0, they fall unconsious, there health goes down -1 HP until they make a save, in which there health will go ip +1 HP until it reaches 1. Hostiles nearby will attack the PC if they are unconsious.
-OnDeath-
When a PC reaches -10, they die. The PC leaves for the fugue, but it leaves behind a placeable corpse, with the PC's name and name in the description.
-Corpse Ressurection-
Recently made this, what this script does is if a player stumbles across a player corpse, and they either have a 'Raise Dead Scroll' or 'Raise Dead Spell' they can cast it on the corpse at it will turn into a zombie which becomes the PC's Henchman. I rathered liked this idea, so hence why I made it. Can be very cool in modules, and adds a cooler element to the Raise Dead spell.
Posted by gra_ulv at 2011-01-26 10:39:24 Voted 10.00 on 01/26/11
Devari was great about working with me to fix my problem. Turns out it wasn't anything he could have helped. I was trying to use Bestow Curse instead of Raise Dead. For some reason Bestow curse keeps it from adding the zombie as a henchman. It worked fine with other spells, Neg Energy Ray, Contagion. I'll find a spell that suits my needs, I'm wanting both Clerics and Wizards to be able to do this. I also have it changed to leave the corpse on respawn instead of death. _________________________ Dolentoll - The Hidden Islands Link
Posted by gra_ulv at 2011-01-24 16:50:01 Voted 10.00 on 01/26/11
I have everything working except the zombie does not get added as a henchman. Any ideas anyone? _________________________ Dolentoll - The Hidden Islands Link
Thanks, I forgot to mention this.. you may find that if the PC's are dying, that bodies are going to be littered everywhere, I should have added a Destroy Object script to after a minute or two. Oh, well i'll make an update soon.
Posted by Saduj at 2009-06-01 16:42:53 Voted 10.00 on 06/01/09