T7nowhere Posted April 7, 2005 Share Posted April 7, 2005 I have been digging into several party npc Dialogs and many have an unused node for the PC teaching an npc the forms that have been learned by the PC. This is beyond my meager scripting talents, but I noticed in "a_give_form.nss" that it uses GetFirstPC(), would it work on npc's if I changed it to OBJECT_SELF since the script will be fired in an npc dialog. Oh and to the scripting masters just assume I don't know anything about scripts What I would love, is a script that can detect what forms the PC has learned and then based on the npc's alignment and class you could teach them some forms. btw does anyone what controls which forms are given at level up for the PC and for the Npc's (is it a_give_form.ncs?) Link to comment Share on other sites More sharing options...
RevanA4 Posted April 7, 2005 Share Posted April 7, 2005 yes it is if you can make it work more power to ya I'm not ready to dig into scripting yet Link to comment Share on other sites More sharing options...
envida Posted April 7, 2005 Share Posted April 7, 2005 Yes you can use that script for your npc's as well. Im using a variation of that script for my recruite mod. You have more or less everything you need in that script. Just need some small modificatin to suite you And yes you can use OBJECT_SELF or you could get their object tag and use that. I would post the script I have but it is still a big mess Also check these two scripts they do the checking of forms already learned: c_chkform.nss and c_chkform_next.nss Link to comment Share on other sites More sharing options...
T7nowhere Posted April 7, 2005 Author Share Posted April 7, 2005 aahh, ok. I'm sure it will take me quite a bit a testing but i'll get it. Thanks for posting the names of the con scripts. Link to comment Share on other sites More sharing options...
lord_yig Posted April 7, 2005 Share Posted April 7, 2005 It would be great if you managed to make this. Being able to teach some forms to NPC, wow... What next ? Being able to teach a prestige class to some NPC like Visas ? Great idea and good luck to manage to make it to the end. Link to comment Share on other sites More sharing options...
Det. Bart Lasiter Posted April 7, 2005 Share Posted April 7, 2005 If you know the names of the scripts that grant feats/forms to npc's, couldn't you edit a .dlg file that is used in the game to trigger the script? For instance, in react.dlg, why couldn't you edit the file where Handmaiden get pissed at you for being evil so that it plays the animations and .wav for the .dlg when you teach them something, then just instruct it to trigger the scripts that are needed? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.