Jump to content

Home

a_give_form = npc


T7nowhere

Recommended Posts

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

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 :rolleyes:

 

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...