View previous topic :: View next topic |
Author |
Message |
Grim
Joined: 04 Jan 2005 Posts: 12
|
Posted: Tue Jan 18, 2005 1:09 Post subject: death related questions (really, not a philosophical disc) |
|
|
So here is my question. If I update a database status field to say 'Dead' as part of my OnDeath script, do I then need to go and modify Raise/Rez spells to reset status field to 'Alive'? If so, how is that done? I hope this makes sense. This is part of doing away with a deathtoken we are currently using in our mod. _________________ Grim Havoc
Systems guy for Mists of the Mordri
(now private) |
|
Back to top |
|
|
NoMercy
Joined: 03 Jan 2005 Posts: 123 Location: UK
|
Posted: Tue Jan 18, 2005 2:28 Post subject: |
|
|
Every time I've done this I've edited raise dead, resurection and the respawn scripts to remove the dead flag, simple as opening the script editor, open script and search though the list after clicking on all scripts for something like nw_s0_raisedead (they have to shorten some names, so not always accurate), saving the modified script to the same name and it works.
The better way avilable since HotU is since your not modifing the functionality of the spell is to include a spell hook, there's a few tutorials on this floating around, but it would allow you to catch when raise dead or resurection are used and clear the flag without touching the script, if you use PRC this is the one you have to go for as I don't believe modules can override hakpak scripts.
Spellhook tutorial:
http://www.nwnlexicon.com/compiled/tutorial.lilacsoul-spell-hooking.html |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|