logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
death related questions (really, not a philosophical disc)

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules
View previous topic :: View next topic  
Author Message
Grim



Joined: 04 Jan 2005
Posts: 12

PostPosted: Tue Jan 18, 2005 1:09    Post subject: death related questions (really, not a philosophical disc) Reply with quote

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
View user's profile Send private message Yahoo Messenger
NoMercy



Joined: 03 Jan 2005
Posts: 123
Location: UK

PostPosted: Tue Jan 18, 2005 2:28    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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